问题描述
我使用以下代码安装了tabulizer
软件包:
I used the following code to install the tabulizer
package:
ghit::install_github(c("ropenscilabs/tabulizerjars", "ropenscilabs/tabulizer"), INSTALL_opts = "--no-multiarch")
运行它时出现以下错误:
I get the following error when I run it:
ropenscilabs/tabulizerjars ropenscilabs/tabulizer
NA NA
Warning messages:
1: running command '"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL --no-multiarch -l "C:\Program Files\R\R-3.2.3\library" C:\Users\borle\AppData\Local\Temp\RtmpQTDkF7/ghitdrat/src/contrib/tabulizerjars_0.1.2.tar.gz' had status 1
2: In utils::install.packages(to_install, type = type, repos = repos, :
installation of package ‘tabulizerjars’ had non-zero exit status
3: running command '"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL --no-multiarch -l "C:\Program Files\R\R-3.2.3\library" C:\Users\borle\AppData\Local\Temp\RtmpQTDkF7/ghitdrat/src/contrib/tabulizer_0.1.22.tar.gz' had status 1
4: In utils::install.packages(to_install, type = type, repos = repos, :
installation of package ‘tabulizer’ had non-zero exit status
这里出了什么问题? 警告消息"是什么意思?
What has gone wrong here? What do the 'Warning messages' mean?
我正在使用64位R 3.2.3版本和jdk1.7.0_79.我的JAVA_HOME正确设置为"C:\ Program Files \ Java \ jdk1.7.0_79 \ jre".
I am using 64-bit R 3.2.3 version and jdk1.7.0_79. My JAVA_HOME is set correctly to "C:\Program Files\Java\jdk1.7.0_79\jre".
我以前安装了tabulizer
,并且我的代码运行良好.也有从PDF转换的输出.但是后来我遇到了jvm.dll文件丢失的问题,因此我先卸载然后重新安装了所有软件包(rJava
,miniUI
,shiny
和tabulizer
)以及jdk.
I had tabulizer
installed previously and my code ran fine. Got an output too converting from PDF. But then I ran into jvm.dll file missing issue, so I uninstalled then reinstalled all packages (rJava
, miniUI
, shiny
and tabulizer
) as well as the jdk.
有人可以帮助我了解如何解决此问题并成功在R中安装tabulizer
软件包吗?
Can someone please help me understand how do I troubleshoot this and successfully install the tabulizer
package in R?
推荐答案
因此,我在github上找到了答案.之前没有出现在我的Google搜索中.原始安装代码无效-
So, I found an answer on github. Didn't come up in my google search earlier.Original installation code which didn't work -
remotes::install_github(c("ropenscilabs/tabulizerjars", "ropenscilabs/tabulizer"), INSTALL_opts = "--no-multiarch")
在此处链接到问题和答案 https://github.com/ropenscilabs/tabulizer /issues/14
Link to the issue and answers is here https://github.com/ropenscilabs/tabulizer/issues/14
以下代码对我有用.现在,我安装了以下版本-
The below code worked for me. Now, I have the following versions installed -
leeper/tabulizerjars:"0.1.2"
leeper/tabulizer:"0.1.22"
leeper/tabulizerjars: "0.1.2"
leeper/tabulizer: "0.1.22"
remotes::install_github(c("remotes/tabulizerjars", "remotes/tabulizer"), INSTALL_opts = "--no-multiarch", dependencies = c("Depends", "Imports"))
这篇关于安装制表程序包时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!