[R] JRI API: sourcing from Java String

Ralf B ralf.bierig at gmail.com
Wed Apr 28 15:40:08 CEST 2010

Hi all,

I have been using 'source(filename)' to load R code from a file
object. However, now I have a special case where I don't have a file
since I am loading an R script from a Jar file. I would like to avoid
creating temporary files. Is there a way to use the 'source' command
with a Java String? Are there any other, better ways to do that?


More information about the R-help mailing list