I use a JRI to execute R from Java, and I saw that the JRI uses a method eval()to execute R commands. I have one R script to execute.
eval()
How can I load this script in a JRI and execute it?
You can run the whole script with the R command source()
source()