Thanks. This seems to mirror the output *both* to the console *and* to the
sink file. The error messages, on the other hand, show up only in the
console.
On Tue, Aug 4, 2009 at 3:24 PM, Allan Engelhardt wrote:
> sink(..., type=c("output","message"), split=TRUE) at the beginning of your
> session
sink(..., type=c("output","message"), split=TRUE) at the beginning of
your session should do it?
Jacob Wegelin wrote:
Consider all the text that one sees on the console during an R session.
Is there a way, within R, to make all this text--both the "output" and
the "messages"--automatically g
Jacob,
As far as I am aware, the OSX GUI has no logging/transcript feature
per se, short of saving the console output to an external file.
The history file will, as you note, only contain the commands entered
at the R prompt, not the additional output.
One of the solutions would be to use
Maybe I'm missing something in the history help file. I read it and
subsequently tried
> savehistory("trythis.txt")
but the resulting file does not contain the text that scrolled past
the console. It contains only a few uninteresting timestamps. Is
there some more useful application of history()
Consider all the text that one sees on the console during an R session.
Is there a way, within R, that all this text--i.e., both the "output" and
the "messages"--can be automatically copied to a single file, in addition to
its being visible on the console?
If I remember to save the console to a f
Consider all the text that one sees on the console during an R session.
Is there a way, within R, to make all this text--both the "output" and the
"messages"--automatically get copied to a single text file, in addition to seeing it on
the console?
If I remember to save the console to a file a
6 matches
Mail list logo