Is there any way to create a directory of functions in R?
In the past, when using S, I have used attach() to point to a
directory holding a set of functions. This does not seem to work in R:
> attach(".Functions")
Error: attach only works for lists and data frames
Is there any way to keep the data separate from functions?
I suppose one approach would be to store the functions as text files and
source() them from .Rprofile
Is this the way most R users are currently dealing with this?
Richard
--
Richard Lammers Phone: (603) 862-4699
Complex System Research Center Fax: (603) 862-0188
University of New Hampshire email: Richard.Lammers at unh.edu
Durham, NH 03824 (USA) URL: TBA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=