[R] help with "attach"
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Mon Nov 9 17:19:06 CET 1998
"J. Andy Royle" <jar at oriole.er.usgs.gov> writes:
> I've been migrating my computing to R and have not had any major
> problems running old Splus programs in R. However, the one thing
> I am missing is the ability to attach directories full of general
> utility functions from whereever I happen to fire up an R session.
> As a consequence, I find myself making many duplicate copies of
> these little general purpose functions by cutting and pasting
> Splus function code. In any case, this capability would seem to be
> of fundamental importance and so I would guess that it can be done.
> I figured I could do something like attach("/home/royle/.RData"),
> but apparently not. Can someone help me with this?
You might want to do this in the form of an R package. Check
help(library) for the details. Or you could just source() them in
~/.RProfile (except that that would duplicate them into all of your
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
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