[R] Redirecting print output
brown_emu at yahoo.com
Tue Jul 24 10:18:51 CEST 2007
Here are two simple ways:
=== method1 ===
=== method2 ===
out <- lm(y~x,data=data.frame(x=1:10,y=(1:10+rnorm(10,0,0.1))))
And then there is 'Sweave'. Check out, for instance
You can embed R code, figures, and output from print methods into your latex
--- Stan Hopkins <stanhopkins at comcast.net> wrote:
> I see a rich set of graphic device functions to redirect that output. Are
> there commands to redirect text as well. I have a set of functions that
> execute many linear regression tests serially and I want to capture this in
> a file for printing.
> Stan Hopkins
> [[alternative HTML version deleted]]
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
____________________________________________________________________________________Ready for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
More information about the R-help