[R] Question: about loading a new package

John Kane jrkrideau at yahoo.ca
Fri Feb 15 16:29:37 CET 2008


Place the command library(newpackage) in your Rprofile
is one way.

--- Stefano Sofia <stefano.sofia at regione.marche.it>
wrote:

> I am using R Version 2.3.1 (2006-06-01) in Linux
> with Ubuntu 7.4.
> 
> I installed a new package with 
> 
> R CMD INSTALL -l /usr/lib/R/library
> newpackage.tar.gz
> 
> Each time I run R I need to load this new package
> typing library(newpackage).
> My question is: how can I automatically load this
> new package once for ever?
> I read the manual but I have not been able to find
> the solution to that.
> 
> thank you
> Stefano
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at 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.
>



More information about the R-help mailing list