[R] nstall.packages

Liaw, Andy andy_liaw at merck.com
Fri Feb 9 13:33:17 CET 2001


Either install the pre-compiled packages for Windows (which can be handled
by rwinst.exe), or if you insist on installing from source, follow the
instructions in README.rw.

Andy

> -----Original Message-----
> From: Han Lai [mailto:hlai at whsun1.wh.whoi.edu]
> Sent: Thursday, February 08, 2001 3:53 PM
> To: r-help at stat.math.ethz.ch
> Subject: [R] nstall.packages
> 
> 
> Hi!
> 
> I am new to R.  I want to install "packages" from Package 
> Sources in the
> web.  I follow the instruction and use the "install.packages" but no
> luck.
> 
> Here is what I did:
> 
> > install.packages(gss,"C:/R/rw1021/library", CRAN = options("CRAN"),
>                             contriburl =
> contrib.url("http://cran.r-project.org"),
>                             method = "auto", available = NULL,
>                             destdir = "C:/R/rw1021/library")
> The error message is:
> 
> 'lynx' is not recognized as an internal or external command,
>        operable program or batch file.
> Error in download.file(url = paste(contriburl, "PACKAGES", sep = "/"),
> :
>         No download method found
> In addition: Warning messages:
> 1: wget not found
> 2: cmd execution failed with error code 1 in: shell("lynx -help",
> invisible = TRUE)
> 
> Could anybody show mw the correct script?
> 
> Thank you very much
> 
> cheers!
> Han
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
> -.-.-.-.-.-.-.-.-
> r-help 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-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
> _._._._._._._._._
> 
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list