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

[EMAIL PROTECTED]
phone: 561-352-9699
eFax:  614-455-3265
http://www.StatisticalEngineering.com
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of ???
Sent: Wednesday, January 09, 2008 10:28 PM
To: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]
            [EMAIL PROTECTED]

        [[alternative HTML version deleted]]

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

Reply via email to