安装 RJSONIO 库时遇到问题

发布于 2024-11-08 16:38:03 字数 645 浏览 2 评论 0原文

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

I'm having some trouble installing RJSONIO. install.packages tells me that the package is not available for my version of R. I can manually download the binary and install, but then I can't use the library because it is "not installed for 'arch=x64'"

workarounds?

> 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'

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

痴意少年 2024-11-15 16:38:03

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

来自 http://www.omegahat.org

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

Try building it from source if you have the appropriate tools installed.

from http://www.omegahat.org:

install.packages("RJSONIO", repos = "http://www.omegahat.org/R", type = "source")
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文