RCaller-4.0.0
RCaller-4.0.0 now is faster for reading large data volumes from R and allows you to monitor R exceptions in online mode.
Also matrices are read without transposing now. (Notice: this is an incompatible change!)
For speeding up the IO, install R arrow package and add dependencies org.apache.arrow:arrow-vector
and org.apache.arrow:arrow-memory-netty
to your Java project.
For throwing R exceptions to Java in online mode, use RCaller.runAndReturnResultOnline(String var, boolean addTryCatch)
method with addTryCatch = true
. (Notice: this can impact the performance!)