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’

请先 登录 后评论

1 个回答

omicsgene - 生物信息
擅长:重测序,遗传进化,转录组,GWAS

解决办法:

export JAVA_HOME=/share/work/biosoft/java/latest/

再安装 rJava包

请先 登录 后评论