解决办法:
export JAVA_HOME=/share/work/biosoft/java/latest/
再安装 rJava包
Error: package or namespace load failed for ‘rJava’:
.onLoad failed in loadNamespace() for 'rJava', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/share/work/biosoft/R/R-v4.2.0/lib64/R/library/rJava/libs/rJava.so':
libjvm.so: cannot open shared object file: No such file or directory
Execution halted
ERROR: lazy loading failed for package ‘corehunter’
* removing ‘/share/work/biosoft/R/R-v4.2.0/lib64/R/library/corehunter’