6

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?

Renato Dinhani
  • 35,057
  • 55
  • 139
  • 199

1 Answers1

6

You can run an entire script with the R command source()

ROLO
  • 4,183
  • 25
  • 41