R Newbie Confused about installation packages

I'm a little new to R, and it seemed to me that I understood how to install packages from CRAN mirrors and from source files, but now I'm at a dead end. I am currently using R 2.10.0 on a 32-bit Windows 7 machine.

I want to try using the RGoogleAnalytics package found here , and I try to follow the instructions. They instruct us to install both RCurl and XML packages from omegahat. For instance,

install.packages("RCurl", repos = "http://www.omegahat.org/R")

however, this will not work, as I get the following error:

Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
  package ‘RCurl’ is not available

When I try this instead:

install.packages("RCurl", repos = "http://www.omegahat.org/R", type="source")

After downloading the file, the following error appears. I used to have version 1.0, and it was restored.

trying URL 'http://www.omegahat.org/R/src/contrib/RCurl_1.5-0.tar.gz'
Content type 'application/x-gzip' length 735041 bytes (717 Kb)
opened URL
downloaded 717 Kb

* installing *source* package 'RCurl' ...
Warning in system("sh ./configure.win") : sh not found
ERROR: configuration failed for package 'RCurl'
* removing 'C:/PROGRA~1/R/R-210~1.0/library/RCurl'
* restoring previous 'C:/PROGRA~1/R/R-210~1.0/library/RCurl'

The downloaded packages are in
        ‘C:\Users\Brock\AppData\Local\Temp\Rtmpc9wt5N\downloaded_packages’
Warning message:
In install.packages("RCurl", repos = "http://www.omegahat.org/R",  :
  installation of package 'RCurl' had non-zero exit status

, RGoogleAnalytics, , . , .

, , !

+5
3

RCurl CRAN , Windows . ReadMe , RCurl Windows. , R, R-2.12.0, .

Windows, Rtools. , . , RCurl Windows... Windows CRAN.

, , R RCurl Prof. Ripley.

+10

According to the RCURL FAQ ,

  • curl-config not found in your path

or

  • curl-config libraries and associated devolment libraries (libcurl) are not installed.
0
source

All Articles