Skip to content

How to avoid function masking

3 messages · Warnes, Gregory R, Martin Maechler, Thomas Lumley

#
I just checked, and r-devel does not have a "pos" argument to library() or
require(). 

-G
LEGAL NOTICE\ Unless expressly stated otherwise, this message is... {{dropped}}
#
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?)

Martin
#
On Fri, 23 May 2003, Martin Maechler wrote:

            
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.

	-thomas