On Tue, 20 Apr 2004 [EMAIL PROTECTED] wrote: > When loading library(R2HTML) in Rprofile I get the following error: > > Error in firstlib(which.lib.loc, package) : > couldn't find function "ps.options" > Error in library(R2HTML) : .First.lib failed > [Previously saved workspace restored] > > % ps.options is there > % Loading the library from the command prompt works fine, other libraries load fine > through Rprofile. > % This only happens since R1.9.0. > > Any ideas?
Please read the USER-VISIBLE CHANGES in the NEWS file. Until R2HTML is updated to require(graphics), you need to add that to your .Rprofile, before library(R2HTML). I do wonder what a package is doing re-setting a global option like this: if there is a good reason I think it should at least issue a message to say it has done so. To my mind it makes having library(R2HTML) in .Rprofile rather undesirable. -- Brian D. Ripley, [EMAIL PROTECTED] 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 ______________________________________________ [EMAIL PROTECTED] 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
