rEngine.eval("pdf(\"" + outputFile + "\", height=" + height
+ ", width=" + width + ")");
} else if (outputType.contains("fig")) {
rEngine.eval("xfig(\"" + outputFile + "\", height="
+ height + ", width=" + width
+ ", horizontal = FALSE, pointsize = 12)");
} else if (outputType.contains("svg")) {
// Load RSvgDevice library