rEngine.eval("dataset <- apply(dataset, 2, as.numeric)");
// Assign row names to the data set
long rows = rEngine.rniPutStringArray(rowNames);
rEngine.rniAssign("rowNames", rows, 0);
rEngine.eval("rownames(dataset)<-rowNames");
// Assign column names to the data set
long columns = rEngine.rniPutStringArray(colNames);
rEngine.rniAssign("colNames", columns, 0);