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.

______________________________________________
R-help@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.

Reply via email to