String plotEvalValue = plotEvalScript(rConnection,docrootPath, plotScript, showWarnings);
resultVector.add(new RResult("Plot Results", plotEvalValue));
}
for (int i = 0; i < outputNames.length; i++){// R Script to EVALUATE output Script
String name = outputNames[i];
REXP evalValue = evalScript(rConnection, name, showWarnings);
resultVector.add(new RResult(name, rexp2javaObj(evalValue)));
}
// clear R objects
evalScript(rConnection, "rm(list=ls())", false);