Behaviour of library() in R-devel

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Fri, 21 Jun 2002 08:57:33 +0100 (BST)


In an attempt to help newbie confusion with (not) installing packages,
library() in R-devel will only load a package if

1) It contains a DESCRIPTION file and
2) That DESCRIPTION file contains a Built: line.

Because the standard packages have only had Built: lines for a few days,
2) is currently a warning.  If you see it on standard packages, do `make
clean; make' in R-devel.  (It should not be necessary, but Sun make failed
to rebuild the DESCRPTION files on one of my systems.)  Before the release
of 1.6.0 it will become an error (and is documented as such now).

2) will not apply to the Carbon MacOS port, which does not have an
automated INSTALL script (AFAIK).

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._