[R] Install Packages

Thomas Lumley tlumley at u.washington.edu
Thu Apr 12 18:34:09 CEST 2001


On Thu, 12 Apr 2001, Hongli Li wrote:

> Hi,
> I am trying to install "Rstrams" package, I have download the Rstreams_1.1-2.tar.gz in my computer and I tried the following
> 1. install.packages("Rstreams",lib=.lib.loc,"c:/R/package/Rstreams_1.1-2.tar.gz" )
>
>  I got
>       'lynx' is not recognized as an internal or external command,
>        operable program or batch file.
>        Error in httpclient(url, check.MIME.type = TRUE, file = destfile) :
>                Not an http:// URL
>        In addition: Warning messages:
>        1: wget not found
>        2: cmd execution failed with error code 1 in: shell("lynx -help", invisible = TRUE)
>

>
> What should I do?

If you want to download automatically you need wget or lynx. You can find
wget at http://www.interlog.com/~tcharron/wgetwin.html

If you want to install a package you have downloaded separately you need
to
a) download the right package (the .zip binary, not the .tar source)
b) read the documentation of install.packages() to find out how to specify
a package file rather than a website: the file is the first argument to
install.packages() and the CRAN argument needs to be NULL.


	-thomas

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