[R] Installation problems with R.classes bundle

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Oct 29 14:28:15 CEST 2004


On Fri, 29 Oct 2004, Michael Griffiths wrote:

> Firstly hi to everyone on the list,
> 
> I am new to this list ans also R so please forgive the simplicity of my
> questions over the next few months.
> 
> I have version R 1.9.1 and want to perform z-scoring for a benchmarking
> procedure. I have tried to install Henrik Bengtsson's R.classes bundle
> (http://www.maths.lth.se/help/R/R.classes). I have downloaded the .zip
> file and placed the relevant folders in my working directory
> (C:\programs\R\rw1091\library). These include R.audio, R.basic and
> R.oo.
> 
> The instrauctions on the website then say to:
> 
> Verify by loading the R.oo package, e.g. library(R.oo). I have tried
> this and all I keep getting os the following error message:
> 
> > library(R.oo)
> Error in firstlib(which.lib.loc, package) : 
>         couldn't find function "lazyLoad"
> In addition: Warning message: 
> package R.oo was built under R version 2.0.0 
> Error in library(R.oo) : .First.lib failed
> > 
> 
> Does anyone have any clues as to what I have done wrong?

You appear to have downloaded the wrong copy, despite rather clear 
instructions on that site. To wit,

To install on *R v1.9.1 or earlier on Windows*, call

install.packages("R.classes", contriburl="http://www.maths.lth.se/help/R/R190")

Although it also says

Since the Windows is a binary distribution written in 100% R it can also 
installed by extracting the archive files into the library/ directory of 
your R installation, i.e. ${R_HOME}/library/ such that the directories 
library/R.oo/, library/R.graphics/ etc are created.

which is incorrect as the `100% R' is transformed in version-specific ways 
(and one does hope it has help files ...).

-- 
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




More information about the R-help mailing list