我在安装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'发布于 2011-05-18 04:18:44
如果您安装了适当的工具,请尝试从源代码构建它。
来自http://www.omegahat.org
install.packages("RJSONIO", repos = "http://www.omegahat.org/R", type = "source")https://stackoverflow.com/questions/6036498
复制相似问题