简体   繁体   English

错误:未为“ arch = x64”安装软件包“ JavaGD”

[英]Error: package 'JavaGD' is not installed for 'arch=x64'

I am running R-2.11.1-x64, on a Win7 machine, with all packages updated through the update command. 我在Win7机器上运行R-2.11.1-x64,所有软件包都通过update命令更新。 I am trying to install the Deducer package. 我正在尝试安装Deducer软件包。 For that I ran: 为此,我跑了:

install.packages("Deducer",,"http://rforge.net/")
install.packages('iplots',,'http://www.rforge.net/')
install.packages('JavaGD',,'http://www.rforge.net/')
install.packages('rJava',,'http://www.rforge.net/')
install.packages('iWidgets',,'http://www.rforge.net/')
install.packages('JGR',,'http://www.rforge.net/')

Now, when I type 现在,当我键入

> library(Deducer)

I get the error: 我得到错误:

Error: package 'JavaGD' is not installed for 'arch=x64'

How to solve this? 如何解决呢? I tried to solve it by getting the x64-version of JavaGD from the rforge website and installing it manually. 我试图通过从rforge网站获取JavaGD的x64版本并手动安装来解决此问题。 This yields 这产生

> package 'JavaGD' successfully unpacked and MD5 sums checked

but doesn'solve the error message when I try to start up Deducer. 但是当我尝试启动Deducer时并不能解决错误消息。

What can solve this? 有什么可以解决的?

Thanks, Peter 谢谢彼得

I just received the following workaround offline, I wanted to share it with anyone having the same issue. 我刚刚离线收到以下解决方法,我想与有相同问题的任何人分享。 As it turns out, there is an issue with JavaGD under R-2.11.1-x64. 事实证明,R-2.11.1-x64下的JavaGD存在问题。 But there is a working build already for R-2.12. 但是R-2.12已经有可用的构建。 This can be found at http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.12/ When I installed that version, the error disappeared, although there is a message saying: 可以在http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.12/上找到此版本。安装该版本后,错误消失了,尽管有一条消息说:

Warning message: package 'JavaGD' was built under R version 2.12.0 警告消息:软件包“ JavaGD”是在R版本2.12.0下构建的

Well, I can live with that! 好吧,我可以忍受!

Thanks, Peter 谢谢彼得

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM