[R] nstall.packages

Han Lai hlai at whsun1.wh.whoi.edu
Thu Feb 8 21:53:25 CET 2001


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



More information about the R-help mailing list