我正在尝试编写一个使用rJava的R包,我正在尝试开始使用它。使用devtools,我将在我的包上运行_
命令,但我会收到以下错误:
install()
错误表明我的Java和R架构不匹配。但是我可以向你保证,我只有64位Java,而我当前的R会话也是64位。是什么赋予了?感谢
稍微更新:因此它似乎可以正常使用RStudio中的* installing *source* package 'WRCHSVM' ...
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386
Error: package or namespace load failed for 'WRCHSVM':
.onLoad failed in loadNamespace() for 'rJava', details:
call: fun(libname, pkgname)
error: No CurrentVersion entry in Software/JavaSoft registry! Try re-installing Java and make sure R and Java have matching architectures.
Error: loading failed
Execution halted
*** arch - x64
ERROR: loading failed for 'i386'
* removing 'C:/Users/mhmdm/Documents/R/win-library/3.4/WRCHSVM'
Error: Command failed (1)
按钮。但是,RStudio不是我工作流程的一部分。如果我可以使用devtools