[R] loadhistory() in .Rprofile ?

Thomas Lumley tlumley at u.washington.edu
Sun Aug 22 22:17:20 CEST 2004

This has recently been added to the FAQ.


On Sat, 21 Aug 2004 ivo_welch-rstat8783 at mailblocks.com wrote:

> dear wizards:  my .Rprofile has just one command for testing,
>   loadhistory("~/.Rhistory")
> but this gives me an error on R startup:
>   Error: couldn't find function "loadhistory"
> Invoking loadhistory() as the first interactive command works fine;
> incidentally, I believe loadhistory() in the .Rprofile worked in
> earlier or other platform R releases, too.
> Is the .Rprofile now loaded before loadhistory()?  if so, this seems to
> make it impossible to set up one big history file across directories
> (save history prior to exit, then reload automatically on entry).  if
> not, I probably screwed something up---again.
> regards, /iaw
> ---
> ivo welch
> PS: my earlier amd64 gentoo problem was caused by my use of f2c, which
> apparently is not happy on amd64 platforms.  thanks to those who let me
> know the problem.
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle

More information about the R-help mailing list