[R] Output to screen and file at the same time

Gabor Grothendieck ggrothendieck at gmail.com
Thu Aug 13 15:07:46 CEST 2009

See the split argument in ?sink

On Thu, Aug 13, 2009 at 9:01 AM, Michael Knudsen<micknudsen at gmail.com> wrote:
> Hello!
> Using the sink function, output from R may be written to a file
> instead of the screen. I would really like to write my output to a
> file while running an R script and at the same time view the output
> "live" on my screen. Is there are way to do that?
> Thanks,
> Michael
> --
> Michael Knudsen
> micknudsen at gmail.com
> http://lifeofknudsen.blogspot.com/
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list