gpt4 book ai didi

r - 安装 RJSONIO 库时遇到问题

转载 作者:行者123 更新时间:2023-12-04 09:16:27 25 4
gpt4 key购买 nike

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

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com