Skip to content

install.packages warning

3 messages · Wright, Kevin, Ben Bolker, Brian Ripley

#
I typically install packages from a local site:
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:".

Best,

Kevin Wright  (apologies for the company signature)



This communication is for use by the intended recipient and contains 
information that may be privileged, confidential or copyrighted under
applicable law.  If you are not the intended recipient, you are hereby
formally notified that any use, copying or distribution of this e-mail,
in whole or in part, is strictly prohibited.  Please notify the sender
by return e-mail and delete this e-mail from your system.  Unless
explicitly and conspicuously designated as "E-Contract Intended",
this e-mail does not constitute a contract offer, a contract amendment,
or an acceptance of a contract offer.  This e-mail does not constitute
a consent to the use of sender's contact information for direct marketing
purposes or for transfers of data to third parties.

 Francais Deutsch Italiano  Espanol  Portuges  Japanese  Chinese  Korean

            http://www.DuPont.com/corp/email_disclaimer.html


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
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?
On Tue, 1 Oct 2002, Wright, Kevin wrote:

            

  
    
14 days later
#
On Tue, 1 Oct 2002, Ben Bolker wrote:

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