[Rd] How to avoid function masking
tlumley at u.washington.edu
Fri May 23 07:40:56 MEST 2003
On Fri, 23 May 2003, Martin Maechler wrote:
> >>>>> "Greg" == Warnes, Gregory R <gregory_r_warnes at groton.pfizer.com>
> >>>>> on Thu, 22 May 2003 17:20:59 -0400 writes:
> Greg> I just checked, and r-devel does not have a "pos"
> Greg> argument to library() or require().
> You checked wrongly. library() *does* for several days now.
> (require doesn't -- on purpose?)
On purpose, I think. Firstly, if you want that level of control you can
use library(). Secondly, what should require("MASS",pos=4) return if MASS
is at pos=2? -- it seems to me it should return FALSE.
More information about the R-devel