3

我在安装 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'
4

1 回答 1

7

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

来自http://www.omegahat.org

install.packages("RJSONIO", repos = "http://www.omegahat.org/R", type = "source")
于 2011-05-17T20:18:43.563 回答