[R] attach (S-style)?

Christian Hoffmann christian.hoffmann at wsl.ch
Thu May 18 08:57:04 CEST 2000


Hi everyone,

Being new to the crowd of R users I am wondering what the equivalent of  

attach("/home/bla/hoffmann/R/.RData",2) 

 (S style) is in R.

What I want is a split of .RData repositories. One in a central place where I keep functions and interesting stuff important for all work I am doing, an several others which contain stuff of an dividual project only. When I start in a project directory I want to make available the central stuff. If I do it like in S+ I am getting and rightly so:

Error in attach("/home/woodstock/hoffmann/R/.RData", 2) : 
	attach only works for lists and data frames

What is the trick to use in R?

Thanks for your help.
--Christian

Christian W. Hoffmann
Mathematics and Statistical Computing
Landscape Modeling and Web Applications
Swiss Federal Institute for Forest, Snow and Landscape Research
CH-8903 Birmensdorf, Switzerland
phone: ++41-1-739 22 77    fax  : ++41-1-737 40 80 or  ++41-1-739 2215  e-mail: Hoffmann at WSL.CH

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list