[R] Is there a function to save the content in R console to some file?

David Winsemius dwinsemius at comcast.net
Wed Mar 30 22:40:10 CEST 2011


On Mar 30, 2011, at 11:02 AM, Chuanlong Du wrote:

> Hello, everyone!
>
> Does anyone know whether there's a function in R which can save the  
> content
> in R console to some file? I'm using Windows system and the usual R  
> console
> instead of Rstudio.

You might want to look at :

?capture.output
?sink

-- 

David Winsemius, MD
Heritage Laboratories
West Hartford, CT



More information about the R-help mailing list