[R] Is 'history' recorded in Rscript?

Duncan Murdoch murdoch at stats.uwo.ca
Sat Sep 5 20:31:28 CEST 2009


On 05/09/2009 2:21 PM, David Winsemius wrote:
> I get the same error in a bash session on a Mac. My assumption at this  
> point is is that the authors of Rscript decided that you should  
> already know what is in the input file and so left out that feature of  
> the console program. Mavbe if you explained why you wanted what would  
> generally be a straight copy of the input file, someone can offer a  
> work-around strategy.
> 
In interactive use the GUIs (or Rterm) have their own mechanisms to 
maintain history.  As the man page for savehistory says, in batch use 
there is no history maintained.

Duncan Murdoch




More information about the R-help mailing list