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)
2.install.packages("Rstreams", .lib.loc, CRAN = getOption("CRAN"), method = "auto", available = NULL,.lib.loc)
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)
it seems no matter what I use, I always get the same error message
What should I do?
Thanks
Hongli Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20010412/ce7021df/attachment.html
Install Packages
3 messages · Hongli Li, Thomas Lumley, Brian Ripley
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Thu, 12 Apr 2001, Thomas Lumley wrote:
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
Actually, the preferred version of wget is at the the location on the help page for install.packages. So all Hongli Li had to do was read the documentation! Actually reading the help page is always a good idea before posting: it can save a great deal of time.
Brian D. Ripley, ripley at 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-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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._