[R] help with installing tar.gz package

Uwe Ligges 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:

http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.13/RCurl_1.6-10.1.zip

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:
> "E:/R/R-2.13.0/library/RCurl_0.91-0.tar.gz"
>
> 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
> appreciated.


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

Uwe Ligges


> kay
>
>
> Zitat von Uwe Ligges <ligges at statistik.tu-dortmund.de>:
>
>>
>>
>> On 05.09.2011 13:52, Kay Cecil Cichini wrote:
>>> hi,
>>>
>>> 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
>>
>>
>>
>>>
>>> thanks,
>>> kay
>>>
>>>
>>>> sessionInfo()
>>> R version 2.13.0 (2011-04-13)
>>> Platform: i386-pc-mingw32/i386 (32-bit)
>>>
>>> locale:
>>> [1] LC_COLLATE=German_Austria.1252 LC_CTYPE=German_Austria.1252
>>> LC_MONETARY=German_Austria.1252
>>> [4] LC_NUMERIC=C LC_TIME=German_Austria.1252
>>>
>>> attached base packages:
>>> [1] stats graphics grDevices utils datasets methods base
>>>
>>> loaded via a namespace (and not attached):
>>> [1] tools_2.13.0
>>>
>>> ______________________________________________
>>> R-help at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide
>>> http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
>
>
>



More information about the R-help mailing list