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

A.J. Rossini rossini at blindglobe.net
Fri Apr 12 18:27:58 CEST 2002


>>>>> "frank" == Frank E Harrell, <Frank> writes:

    frank> In a .First.lib I want to issue two require()s to insure
    frank> that two other packages are loaded.  But I want the package
    frank> being loaded by .First.lib using
    frank> library.dynam("mypackage",pkb,lib) to be higher in the
    frank> search order than the two required packages, because I want
    frank> to have a couple of functions from the two required
    frank> packages overridden.  What is the best way to do that?
    frank> Thanks in advance -Frank 

Good question.  If you find out, let me know, too!

best,
-tony

-- 
A.J. Rossini				Rsrch. Asst. Prof. of Biostatistics
U. of Washington Biostatistics		rossini at u.washington.edu	
FHCRC/SCHARP/HIV Vaccine Trials Net	rossini at scharp.org
-------------- http://software.biostat.washington.edu/ ----------------
FHCRC: M-W: 206-667-7025 (fax=4812)|Voicemail is pretty sketchy/use Email
UW:   Th: 206-543-1044 (fax=3286)|Change last 4 digits of phone to FAX
(my friday location is usually completely unpredictable.)


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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