After upgrading to R 1.9.0, I started getting the following error on startup: Error: couldn't find function "ps.options" My .Rprofile file contains this line: ps.options(paper="letter",horizontal=F) If I type "source ~/.Rprofile" after R starts, it works just fine. Did something related to startup change in R 1.9.0? -akop
Yes, the startup is different in 1.9.0. See the NEWS file in the installation directory. -roger Akop Pogosian wrote:> After upgrading to R 1.9.0, I started getting the following error on > startup: > > Error: couldn't find function "ps.options" > > My .Rprofile file contains this line: > > ps.options(paper="letter",horizontal=F) > > If I type "source ~/.Rprofile" after R starts, it works just fine. Did > something related to startup change in R 1.9.0? > > > -akop > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >
Do look at the NEWS file. This is covered in the top 40 lines, and points you to an example (?setHook) of how to do almost exactly this. BTW, please use FALSE not F for FALSE in programming (as in .Rprofile). On Sun, 25 Apr 2004, Akop Pogosian wrote:> After upgrading to R 1.9.0, I started getting the following error on > startup: > > Error: couldn't find function "ps.options" > > My .Rprofile file contains this line: > > ps.options(paper="letter",horizontal=F) > > If I type "source ~/.Rprofile" after R starts, it works just fine. Did > something related to startup change in R 1.9.0?-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595