[R] Sourcing files with library
Derek.Yi at FMR.COM
Tue Jun 25 15:37:20 CEST 2002
I have written a class with methods that extend generic functions such as
as.data.frame or show. When I load this package, I want to ensure that
these methods - along with the other functions in the file - are added to
R's search path or updated, if necessary. I have made a package using
Will a simple library() call on the package accomplish this? I recall
reading somewhere that there is a way to force the sourcing of R files
within the package, but I don't remember where...
system sparc, solaris2.6
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