我使用以下代码安装tabulizer
包:
ghit::install_github(c("ropenscilabs/tabulizerjars", "ropenscilabs/tabulizer"), INSTALL_opts = "--no-multiarch")
运行时出现以下错误:
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
这里出了什么问题?“警告信息”是什么意思?
我使用的是 64 位 R 3.2.3 版本和 jdk1.7.0_79。我的 JAVA_HOME 正确设置为“C:\Program Files\Java\jdk1.7.0_79\jre”。
我以前tabulizer
安装过,我的代码运行良好。也得到了从 PDF 转换的输出。但后来我遇到了 jvm.dll 文件丢失的问题,所以我卸载然后重新安装了所有包(rJava
、miniUI
和)shiny
以及tabulizer
jdk。
有人可以帮我理解如何解决这个问题并tabulizer
在 R 中成功安装包吗?