[R] Several simple but hard tasks to do with R

Stephan Kolassa Stephan.Kolassa at gmx.de
Thu Aug 20 23:06:31 CEST 2009


Hi Rakknar,

I believe that the menu command File -> Save to File (or some such, I 
use the German version) in the R GUI for Windows (I'm unclear on your 
OS) has not yet been suggested. This writes a file containing the entire 
R session. Does this create the kind of log you are looking for?

HTH,
Stephan


Rakknar schrieb:
> "This is why sink() has the split=TRUE option, which logs output to a
> connection and sends it to the screen.
> The R
>     sink("analysis.log",split=TRUE)
> is almost identical to the Stata
>     log using analysis.log
> 
> with sink() to close the log and flush to disk at the end of the session."
> 
>  I've already used that and it doesn't work. It only register the output,
> not the inputs.




More information about the R-help mailing list