Re: [R] autoload libraries at startup

2007-03-11 Thread Petr Pikal
Hi

see
.First or .Rprofile

Regards
Petr

BTW, did you try ?Startup or help.search(startup) before your 
posting?



On 8 Mar 2007 at 12:45, [EMAIL PROTECTED] wrote:

To: r-help@stat.math.ethz.ch
From:   [EMAIL PROTECTED]
Date sent:  Thu, 08 Mar 2007 12:45:39 -0800
Subject:[R] autoload libraries at startup

 Hi All
 
 I was wondering if there is a way I can specify in R that it should
 load libraries automatically at startup, so that I do not have to
 manually issue the command.
 
 Thanks Toby
 
 __
 R-help@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 and provide commented,
 minimal, self-contained, reproducible code.

Petr Pikal
[EMAIL PROTECTED]

__
R-help@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
and provide commented, minimal, self-contained, reproducible code.


[R] autoload libraries at startup

2007-03-09 Thread toby909
Hi All

I was wondering if there is a way I can specify in R that it should load 
libraries automatically at startup, so that I do not have to manually issue the 
command.

Thanks Toby

__
R-help@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
and provide commented, minimal, self-contained, reproducible code.


Re: [R] autoload libraries at startup

2007-03-09 Thread john seers \(IFR\)

Hi 

I do not know if this is the best way, but have a look at .Rprofile - a
text file that lives in the R root directory ans is executed at startup.
You could put library() commands in that.

See ?Startup for more information.

Regards


JS



 
---

John Seers
Institute of Food Research
Norwich Research Park
Colney
Norwich
NR4 7UA
 

tel +44 (0)1603 251497
fax +44 (0)1603 507723
e-mail [EMAIL PROTECTED] 
e-disclaimer at http://www.ifr.ac.uk/edisclaimer/ 
 
Web sites:

www.ifr.ac.uk   
www.foodandhealthnetwork.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: 08 March 2007 20:46
To: r-help@stat.math.ethz.ch
Subject: [R] autoload libraries at startup


Hi All

I was wondering if there is a way I can specify in R that it should load

libraries automatically at startup, so that I do not have to manually
issue the 
command.

Thanks Toby

__
R-help@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
and provide commented, minimal, self-contained, reproducible code.

__
R-help@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
and provide commented, minimal, self-contained, reproducible code.