How I can load a R script into JRI and execute from Java?
Domanda
I'm using JRI to execute R from Java and I saw that JRI use the eval()
method to execute the R commands. I have one R script for execution.
How I can load this script in JRI and execute it?
Soluzione
You can run an entire script with the R command source()
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow