rJava fails to install (MacOS, Red Hat)

后端 未结 2 1788
你的背包
你的背包 2021-02-06 13:06

I am experiencing the same rJava problem that many other people seem to of had at one point or another. The error occurs when R CMD INSTALL tests whether JNI progra

2条回答
  •  [愿得一人]
    2021-02-06 13:45

    I had a recent variation on this same problem with RHEL 6.5. I reviewed this thread and many others. The ptoblem was that the dynamic load modules were not found when testing the complile of the JNI programs. My fix was to insert "CPPFLAGS=${CPPFLAGS-'-ldl'}" into file

    /usr/lib64/R/etc/Renviron
    

提交回复
热议问题