Skip to content
Prev 380124 / 398500 Next

problem in saving the history file '~/.Rhistory'

Did you (or a startup script) set the environment variable R_HISTORY to be
'~/somefile'?  R does not expand the tilde in this case so you need to let
the shell do it.  Perhaps ~ doesn't expand for the root user.  (IMO, it is
crazy to run R, or almost any other program, as root.)

Bill Dunlap
TIBCO Software
wdunlap tibco.com


On Wed, Jun 26, 2019 at 7:11 AM lejeczek via R-help <r-help at r-project.org>
wrote: