s-news
[Top] [All Lists]

Re: [loading libraries]

To: "Martin H. H. Stevens" <hstevens@rci.rutgers.edu>, Mailing List S+ <s-news@wubios.wustl.edu>
Subject: Re: [loading libraries]
From: ROGER NGOUENET <r.f.ngouenet@usa.net>
Date: 28 Nov 00 10:33:58 MST
To automatically perform actions when you start S-PLUS, create a .First.
For example:

   .First <- function(){
             library(MASS) # I think mass is in upper case ...
}

You can view a complete help file by typing: ?.First or help(.First).

Cheers, Roger.


"Martin H. H. Stevens" <hstevens@rci.rutgers.edu> wrote:
I have recently discovered the joys of the extra libraries in S-plus
(e.g., mass, hmisc), and I have been liberated! I, and I am sure
COUNTLESS others, are deeply indebted to the authors of these fabulous
tools.

I would like to load some libraries every time I start s-plus. How do I
automate that?
Many thanks,
Henry

--
Dr. M. Henry H. Stevens
Postdoctoral Associate
Department of Ecology, Evolution, & Natural Resources
14 College Farm Road
Cook College, Rutgers University
New Brunswick, NJ 08901-8551

email: hstevens@rci.rutgers.edu
phone: 732-932-9631
fax: 732-932-8746


---------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu.  To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message:  unsubscribe s-news


____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [loading libraries], ROGER NGOUENET <=