From ripley@stats.ox.ac.uk  Wed Oct 16 12:27:16 2002
From: ripley@stats.ox.ac.uk (ripley@stats.ox.ac.uk)
Date: Wed, 16 Oct 2002 12:27:16 +0100 (BST)
Subject: install.packages warning
In-Reply-To: <Pine.LNX.4.44.0210011409070.19662-100000@bolker.zoo.ufl.edu>
Message-ID: <Pine.LNX.4.31.0210161223570.1261-100000@gannet.stats>

On Tue, 1 Oct 2002, Ben Bolker wrote:

>
>   Hear, hear; I've often had to reassure people about this warning.  (The
> reason the scary "Warning message" words appear is because
> install.packages() uses the warning() function.)  Is the warning really
> necessary?

Yes.  Why can't people call install.packages() correctly?  It has two
required arguments.  If R_LIBS is set, you do want to think hard about
where to install, and the warning is useful.  Maybe if there is only one
library, the warning could be suppressed.

And if they are doing it on Windows, they can use a menu item to generate
a correct call for them....

>
> On Tue, 1 Oct 2002, Wright, Kevin wrote:
>
> >
> > I typically install packages from a local site:
> >
> > > install.packages("x:/tpm/tpm.zip",CRAN=NULL)
> > updating HTML package descriptions
> > Warning message:
> > argument `lib' is missing: using C:/PROGRA~1/R/RW1051/library in:
> > install.packages("x:/tpm/tpm.zip", CRAN = NULL)
> >
> > The warning doesn't bother me, but I've had to help other people who see
> > "warning" and decide to panic.
> >
> > May I suggest changing "Warning message" to something less scary, for
> > example "Note:".

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


install.packages warning
ripley@stats.ox.ac.uk