ppam_exe = function(path=".", np=parallel::detectCores(), data=NULL,
ppam_exe = function(path=".", np=parallel::detectCores(), data=NULL,
command_line = paste("mpirun -np ",np," ",path,"/ppam.exe cluster",sep="")
#if data provided (as data.frame or matrix...): binarize it, and add it as first argument
command_line = paste("mpirun -np ",np," ",path,"/ppam.exe cluster",sep="")
#if data provided (as data.frame or matrix...): binarize it, and add it as first argument
-deserialize = function(path=".", binSeries, csvSeries, ranks="-1")
+deserialize = function(path=".", binSeries, csvSeries, ranks="-1", return=TRUE)
{
system(paste(path,"/ppam.exe deserialize ",binSeries," ",csvSeries," ",ranks,sep=""))
{
system(paste(path,"/ppam.exe deserialize ",binSeries," ",csvSeries," ",ranks,sep=""))