search for: run_sourcerfile

Displaying 1 result from an estimated 1 matches for "run_sourcerfile".

2005 Jul 27
1
unable to source a .R file using RJava
...----------- package com.icoria.rwrapper; import org.omegahat.R.Java.ROmegahatInterpreter; import org.omegahat.R.Java.REvaluator; public class JavaRCall3 { /** * want to see if I can eval a t.test command like what I would run in the * R command line */ static public void run_sourceRFile(REvaluator e, ROmegahatInterpreter interp) { /* produces a core */ System.err.println("running source doNothing.R"); Object value = e.eval("source (\"/imports/nas1/people/lobrien/dist2.1_rc1/hh/src/r/doNothing.R"); if (value != null)...