[R] Addon packages

Roger Bivand Roger.Bivand at nhh.no
Wed Nov 30 13:27:28 CET 2005


On Wed, 30 Nov 2005, Kåre Edvardsen wrote:

> I'm trying to add 'gplots' from install.packages("gplots", lib =
> "/usr/lib/R/library", dependencies = TRUE) on a linux host, but R does
> not seem to figure out there's a new package installed (yes, I've
> restarted the R-session). I've tried the default, and different library
> folders, without success. Installation does not report any warnings or
> bad exit status, so this one beats me...
> 
> Anyone know what I'm doing wrong here?

FAQ 7.30, I think:

http://cran.r-project.org/doc/FAQ/R-FAQ.html#I-installed-a-package-but-the-functions-are-not-there

"gplots" %in% installed.packages()[,1]

library(gplots)

require(gplots)

come to mind. Looking at search() can also be instructive.

> 
> K.Edv
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> 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
> 

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no




More information about the R-help mailing list