On Mon, Aug 10, 2009 at 10:24 PM, Erin Hodgess<erinm.hodg...@gmail.com> wrote: > Dear R People: > > I'm trying to build a package and am stuck on the last part; I keep > getting "there is no library".
You seem to have more than one version of R on the go - the one in your system $PATH: > e...@erin-laptop:~/Desktop/R-2.9.1/bin$ R CMD check RcmdrPlugin.qual > * checking for working pdflatex ... OK > * using log directory '/home/erin/Desktop/R-2.9.1/bin/RcmdrPlugin.qual.Rcheck' > * using R version 2.8.1 (2008-12-22) > e...@erin-laptop:~/Desktop/R-2.9.1/bin$ R CMD check RcmdrPlugin.qual > * checking for working pdflatex ... OK > * using log directory '/home/erin/Desktop/R-2.9.1/bin/RcmdrPlugin.qual.Rcheck' > * using R version 2.8.1 (2008-12-22) > e...@erin-laptop:~/Desktop/R-2.9.1/bin$ R CMD INSTALL > RcmdrPlugin.qual_0.1.0.tar.gz > * Installing to library '/home/erin/R/i486-pc-linux-gnu-library/2.8' - all of which seem to be 2.8. Then the one you seem to have in ~/Desktop/R-2.9.1 which you start thus: > e...@erin-laptop:~/Desktop/R-2.9.1/bin$ ./R which starts 2.9.1: > R version 2.9.1 (2009-06-26) > Copyright (C) 2009 The R Foundation for Statistical Computing > ISBN 3-900051-07-0 >> library(RcmdrPlugin.qual) > Error in library(RcmdrPlugin.qual) : > there is no package called 'RcmdrPlugin.qual' But your install was to the 2.8 version! Just do the build and install steps with ./R, or test it with R. Barry ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.