rJava Warning Meaning

2019-03-02 17:23发布

问题:

I am trying to compile a package for R that uses openNLP which relies on rJava. The compiling fails with this message:

When I try to load the package in R it says:

library(openNLP)
Warning message:
replacing previous import ‘show’ when loading ‘rJava’

I can't compile the package as it kills the process because the package fails to load due to this error(I think). I tried updating Java but that does not fix this issue.

Help please.

R 2.15.0 on a win 7 machine

Here's a screen shot of my Java and R info:

回答1:

The issue was between a 32 bit windows and a 64 bit java. I downloaded the 32 bit java and it worked (though I still get a warning)



标签: r package