[R] Is 'history' recorded in Rscript?
Peng Yu
pengyu.ut at gmail.com
Sat Sep 5 05:03:05 CEST 2009
Hi,
I run the following command and try to save the commands that have
been run in the script. But it seems that no history is recorded. Is
it because that the history is not recorded in Rscript?
Regards,
Peng
$ Rscript savehistory.R
> f=tempfile()
> f
[1] "/tmp/Rtmp7WBjGG/file327b23c6"
> history()
Error in savehistory(file) : no history available to save
Calls: history -> savehistory
Execution halted
More information about the R-help
mailing list