Displaying 2 results from an estimated 2 matches for "renjinscriptenginefactory".
2017 Oct 29
3
Renjin?
...stalled in R and works fine from RStudio.
I didn't see any examples in the docs (please excuse if I missed) that bring in any libraries.
Entire Java source below.
Thanks in advance,
----
public class RCallerExample{
public static void main(String[] args)
{
// create a script engine manager:RenjinScriptEngineFactory factory = new RenjinScriptEngineFactory();
// create a Renjin engine:ScriptEngine engine = factory.getScriptEngine();
try{
engine.eval("require(biotools)");
String inputIris = "5.1,3.5,1.4,0.2,setosa\n" +
"4.9,3,1.4,0.2,setosa\n" +
"4.7,3.2,1.3,0.2,setosa\n"...
2017 Oct 29
0
Renjin?
...s (please excuse if I missed)
> > that bring in any libraries.
> >
> > Entire Java source below.
> > Thanks in advance,
> >
> > public class RCallerExample{
> > public static void main(String[] args)
> > {
> > // create a script engine manager:RenjinScriptEngineFactory factory
> > =
> > new RenjinScriptEngineFactory();
> > // create a Renjin engine:ScriptEngine engine =
> > factory.getScriptEngine();
> >
> > try{
> > engine.eval("require(biotools)");
> >
> > String inputIris = "5.1,3.5,1.4,0.2...