安装ReporteRsjars软件包时出错

时间:2019-03-06 20:21:08

标签: java r

我正在尝试在R(版本3.5.2)中安装ReporteRsjars软件包。我已经在计算机(版本1.8.0_201)上安装了Java,但是出现以下错误。

> devtools::install_github('davidgohel/ReporteRsjars')

Downloading GitHub repo davidgohel/ReporteRsjars@master

√  checking for file 'C:\Users\Sebastiaan Verb\AppData\Local\Temp\Rtmp4wtHrS\remotes30e066081ddc\davidgohel-ReporteRsjars-0adc2ca/DESCRIPTION' ... 

-  preparing 'ReporteRsjars': (355ms)

√  checking DESCRIPTION meta-information ... 

-  checking for LF line-endings in source and make files and shell scripts
-  checking for empty or unneeded directories
-  building 'ReporteRsjars_0.0.5.tar.gz'

Installing package into ‘C:/Users/Sebastiaan Verb/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)

* installing *source* package 'ReporteRsjars' ...
** R
** inst
** byte-compile and prepare package for lazy loading
** help
No man pages found in package  'ReporteRsjars' 
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386

Error: package or namespace load failed for 'ReporteRsjars':
 .onLoad failed in loadNamespace() for 'rJava', details:
  call: inDL(x, as.logical(local), as.logical(now), ...)
  error: unable to load shared object 'C:/Users/Sebastiaan Verb/Documents/R/win-library/3.5/rJava/libs/i386/rJava.dll':
  LoadLibrary failure:  Can not find the specified module.

Error: loading failed
Execution halted

*** arch - x64

ERROR: loading failed for 'i386'
* removing 'C:/Users/Sebastiaan Verb/Documents/R/win-library/3.5/ReporteRsjars'
In R CMD INSTALL

Error in i.p(...) : 
  (converted from warning) installation of package ‘C:/Users/SEBAST~1/AppData/Local/Temp/Rtmp4wtHrS/file30e016d13d28/ReporteRsjars_0.0.5.tar.gz’ had non-zero exit status

如何解决此问题?

0 个答案:

没有答案