[R] Problem with rJava
ajain at umn.edu
Thu Jan 14 23:45:44 CET 2016
I am using an R package called Rknots, which uses rJava (and others like rSymPy, rjson, rJython) and I am getting some error due to rJava. When I run my R code, the execution gets halted with the following error:
Error in .jcheck() : No running JVM detected. Maybe .jinit() would help. (found this line in rjava.c)
Calls: computeInvariant ... sympy -> $ -> $ -> hasField -> .jcall -> .jcheck -> .Call (this line comes from Rknots package when the function computeInvariant is called)
Note that since I could not install these packages on root level, I installed them locally on unix OS. Since the other Java and R software appears to be working, it seems like the error is specific to the rJava package. Possibly rJava makes some assumptions about the Java installation (perhaps its location) that cause it to be confused. I would like to know if a non-root Java installation would cause problems.
FYI, here are the versions of different packages that I currently have:
I would really appreciate any help.
I want to apologize if this forum is not a right place to discuss about rJava.
Department of Chemical Engineering and Material Science
151 Amundson Hall
421 Washington Ave SE
Minneapolis, MN 55455 USA
Ph: +1 612-806-7154
More information about the R-help