Dear all, in my .bashrc file I have set the environment variable R_HISTFILE like this:
export R_HISTFILE="$HOME/.Rhistory" I then use it in my .Rprofile to have R writing all the history in a single file, rather than on a per directory basis. However this doesn't work becaus R_HISTFILE is not recognized by R. If I type: Sys.getenv("R_HISTFILE") the output is: "" How can I get R recognizing environment variables? Best, Luca -- Luca Cerone Skype: luca.cerone ______________________________________________ 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.