Hello,
I am working on a java project where I am running a script in R and returning results to Java. I am using the Renjin interpreter with the following maven dependencies:
<dependency>
<groupId>org.rosuda.REngine</groupId>
<artifactId>REngine</artifactId>
<version>2.1.0</version>
</dependency>
<dependency>
<groupId>org.renjin</groupId>
<artifactId>renjin-tests</artifactId>
<version>0.8.2242</version>
</dependency>
<dependency>
<groupId>org.renjin.cran</groupId>
<artifactId>plm</artifactId>
<version>1.4-0-b39</version>
</dependency>
<repository>
<id>bedatadriven</id>
<name>bedatadriven public repo</name>
<url>https://nexus.bedatadriven.com/content/groups/public/</url>
</repository>
The process works just fine for a script with an "lm" function, but throws an error (in eclipse console) when using "plm".
The error is:
Error : no internal function "cov"
Loading required package: Formula
Loading required package: stats
Loading required package: stats
[1] "Error : no internal function \"cov\"\n"
attr(,"class")
[1] "try-error"
attr(,"condition")
$message
[1] "no internal function \"cov\""
attr(,"class")
[1] "simpleError" "error" "condition"
any help with this is much appreciated!
Thank you!