我在安装RJSONIO时遇到了一些麻烦。 install.packages告诉我该软件包不适用于我的R版本。我可以手动下载二进制文件并进行安装,但是随后我无法使用该库,因为该库“未为'arch = x64'安装”

解决方法?

> install.packages('RJSONIO')
Installing package(s) into ‘C:/R/site-library’
(as ‘lib’ is unspecified)
Warning in install.packages :
  package ‘RJSONIO’ is not available (for R version 2.13.0)
>
> install.packages( "C:\\downloads\\RJSONIO_0.7-2.zip" , repos = NULL )
Installing package(s) into ‘c:/R/site-library’
(as ‘lib’ is unspecified)
package 'RJSONIO' successfully unpacked and MD5 sums checked
>
> library(RJSONIO)
Error: package 'RJSONIO' is not installed for 'arch=x64'

最佳答案

如果安装了适当的工具,请尝试从源代码构建它。

来自http://www.omegahat.org

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

关于r - 无法安装RJSONIO库,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/6036498/

10-12 17:19