[R] How to specify search order for require()

David Brahm brahm at alum.mit.edu
Sun Apr 14 02:30:31 CEST 2002

Frank E Harrell Jr <fharrell at virginia.edu> writes:
> For now I decided to be expeditious by redefining library to take a pos=
> argument.  All that's needed is to pass this to the attach( ) inside library,
> which I hope R-core will add to the library function.

I second that; in fact I've requested it a couple times (most recently in
R-devel on 3/28/02).  I believe it really is just as simple as passing "pos" to
attach(), and I also override the built-in function.
                              -- David Brahm (brahm at alum.mit.edu)
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