我使用以下代码来安装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”。
I had tabulizer
之前安装过,我的代码运行良好。也得到了从 PDF 转换的输出。但后来我遇到了 jvm.dll 文件丢失的问题,所以我卸载然后重新安装了所有软件包(rJava
, miniUI
, shiny
and tabulizer
)以及jdk。
有人可以帮助我了解如何解决此问题并成功安装tabulizer
R 中的包?
于是,我在github上找到了答案。之前我的谷歌搜索中没有出现过。
原始安装代码不起作用 -
remotes::install_github(c("ropenscilabs/tabulizerjars", "ropenscilabs/tabulizer"), INSTALL_opts = "--no-multiarch")
问题和答案的链接在这里https://github.com/ropenscilabs/tabulizer/issues/14
下面的代码对我有用。现在,我安装了以下版本 -
leeper/tabulizerjars:“0.1.2”
储存者/制表者:“0.1.22”
remotes::install_github(c("remotes/tabulizerjars", "remotes/tabulizer"), INSTALL_opts = "--no-multiarch", dependencies = c("Depends", "Imports"))
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)