[R] help with installing tar.gz package
ligges at statistik.tu-dortmund.de
Mon Sep 5 15:05:36 CEST 2011
On 05.09.2011 14:52, Kay Cecil Cichini wrote:
> internet connection exists - dont' know why, but i can't set to CRAN
> mirror - maybe because i run R from an usb-stick, firewall or whatever.
Probably not correctly configured proxy setting?
> thus, install.packages("RCurl_0.91-0.tar.gz") won't work.
install.packages("RCurl"), to be precise
> a zip-file does not exist, only the tar.gz file.
It exists. The most recent version of RCurl for Windows for R-2.13.x is
available from "CRAN extras" which expands to:
I wonder where you got that ancient version of RCurl (0.91-0) from?
> so i tried to install from the source that i downloaded to:
> i tried to apply the manual for R Installation and Administration but
> admittedly doesn't grasp it - any help how to achieve this would be greatly
After installing the prerequisites as mentioned in that manual, you could do
install.packages("/path/to/RCurl_0.91-0.tar.gz", repos=NULL, type="source")
but RCurl won't install out of the box (therefore the version on "CRAN
extras" rather than an auto-built one on regular CRAN - the former is
manually tweaked by Brian Ripley).
> Zitat von Uwe Ligges <ligges at statistik.tu-dortmund.de>:
>> On 05.09.2011 13:52, Kay Cecil Cichini wrote:
>>> i'd like to install the package "RGoogleDocs ".
>>> i downloaded to path "E:/R/R-2.13.0/library/RCurl_0.91-0.tar.gz"
>>> i run R from an usb-stick and can't get the install.packages() prompt to
>>> run correctly - can anyone help with this?
>> 1. Why not use install.packages() to install it from the net?
>> 2. You can download the binary package (zip) file, if network access
>> is not available for you on the target machine.
>> 3. If you want to install from sources (the tar.gz), please read the
>> manual R Installation and Administration.
>> Uwe Ligges
>>> R version 2.13.0 (2011-04-13)
>>> Platform: i386-pc-mingw32/i386 (32-bit)
>>>  LC_COLLATE=German_Austria.1252 LC_CTYPE=German_Austria.1252
>>>  LC_NUMERIC=C LC_TIME=German_Austria.1252
>>> attached base packages:
>>>  stats graphics grDevices utils datasets methods base
>>> loaded via a namespace (and not attached):
>>>  tools_2.13.0
>>> R-help at r-project.org mailing list
>>> PLEASE do read the posting guide
>>> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help