/* High-level API - do not use RNI methods unless there is no other way
to accomplish what you want */
try {
REXP x;
re.eval("library(statnet)");
re.eval("data(\"faux.magnolia.high\")", false);
re.eval("fmh <- faux.magnolia.high", false);
re.eval("plot(fmh,displayisolates = FALSE, vertex.col = \"Grade\", vertex.cex = 0.7)");
re.eval("data(iris)",false);
System.out.println(x=re.eval("iris"));