rConnection.eval("jpeg(.tmp.)");
rConnection.eval("plot(HCluster, main = \"Hierarchical Clustering\")");
rConnection.eval("dev.off()");
// Get the data from R
hclresult.setClusterSequence(rConnection.eval("HCluster$merge").asDoubleMatrix());
hclresult.setClusterMethod(rConnection.eval("HCluster$method").asStrings());
// hclresult.setClusterLabels(rConnection.eval("HCluster$labels").asStrings());
hclresult.setClusterDistanceMeasure(rConnection.eval("HCluster$dist.method").asStrings());
}