[R] how can i add a package that i want to use permanent

Charles Annis, P.E. Charles.Annis at StatisticalEngineering.com
Thu Jan 10 15:11:01 CET 2008


?.First
This will explain things.  


You make a hidden program called .First like this

.First <- function() { library(lattice) }

and then save your workspace.  The next time you open R, lattice will load
automatically.


Charles Annis, P.E.

Charles.Annis at StatisticalEngineering.com
phone: 561-352-9699
eFax:  614-455-3265
http://www.StatisticalEngineering.com
 

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of ???
Sent: Wednesday, January 09, 2008 10:28 PM
To: r-help at stat.math.ethz.ch
Subject: [R] how can i add a package that i want to use permanent

I want use a package(lattice) in R to do some work
but everytime when i open R program  ,this package is not loaded,
so  everytime  i have to load it ,
who can tell me  how to load this package permanent

thanks!!!
-- 
:zND2(
TEL:15918732631
E-MAIL:bbbiiiooo at 163.com
            huwenb at gmail.com

	[[alternative HTML version deleted]]




More information about the R-help mailing list