简体   繁体   English

R版本3.0.2找不到RCurl软件包

[英]R version 3.0.2 cannot find RCurl package

I'm using R version 3.0.2 on my Windows 7 (32-bit) system and am stumped trying to install rCharts. 我在Windows 7(32位)系统上使用的是R版本3.0.2,但在尝试安装rCharts时遇到了麻烦。 I've had no problem installing other packages from github (eg, slidify), but R seems unable to find the dependent RCurl package I installed. 我从github安装其他软件包没有问题(例如slidify),但是R似乎找不到我安装的相关RCurl软件包。

I can submit the following basic lines of code without error: 我可以提交以下基本代码行而不会出现错误:

require(devtools) 
library(bitops,lib.loc='c:/R/packages/')
library(RCurl,lib.loc='c:/R/packages/')
require(RCurl)    # have also tried the library function without luck*

But, when I submit the command to install rCharts with 但是,当我提交命令以安装rCharts时

install_github('rCharts', 'ramnathv')

I get the following : 我得到以下内容:

Installing github repo(s) rCharts/master from ramnathv
Downloading rCharts.zip from https://github.com/ramnathv/rCharts/archive/master.zip
Installing package from C:\Users\nakamura\AppData\Local\Temp\RtmpwzYzaG/rCharts.zip
Installing rCharts
"C:/PROGRA~1/R/R-30~1.2/bin/i386/R" --vanilla CMD INSTALL  \
  "C:\Users\nakamura\AppData\Local\temp\RtmpwzYzaG\rCharts-master"  \
  --library="C:/Program Files/R/R-3.0.2/library" --with-keep.source  \
  --install-tests 

**ERROR: dependency 'RCurl' is not available for package 'rCharts'**
*** removing 'C:/Program Files/R/R-3.0.2/library/rCharts'
Error: Command failed (1)**

I've tried installing libcurl, but am not sure I've unzipped it to the correct folder. 我尝试安装libcurl,但不确定将其解压缩到正确的文件夹中。 (From what I've been able to gather from bits and pieces of other questions about rCurl, it seems having an improper/no installation of libcurl could be a contributing factor?) (根据我从rCurl的其他问题中收集的信息,似乎不正确/没有安装libcurl可能是一个促成因素?)

Any help would be very much appreciated. 任何帮助将不胜感激。 I feel like I'm going around in circles. 我觉得我正在转转。

Ann

如果将目录“ C:/ R / packages”安装到非标准目录中,则将其添加到.libPaths变量的前面将有助于R查找RCurl。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM