Re: [R] Saving history across sessions

2013-02-09 Thread Uwe Ligges
On 07.02.2013 19:21, James Jong wrote: I have an environment variable `$R_HISTFILE` pointing to `/home/my.username/.RHistory` and the following code in my `.Rprofile` in my home directory: .Last <- function() { if (!any(commandArgs()=='--no-readline') && interactive()){

[R] Saving history across sessions

2013-02-07 Thread James Jong
I have an environment variable `$R_HISTFILE` pointing to `/home/my.username/.RHistory` and the following code in my `.Rprofile` in my home directory: .Last <- function() { if (!any(commandArgs()=='--no-readline') && interactive()){ require(utils)