Le 27/07/2017 à 18:12, Sharat a écrit :
Also, after your comments, it just hit me why not write the entire code in pure C++? Would that be worthwhile?
It really depends on the size of your real data and on time it takes to process them in R. If it is a matter of just a second or so, I would leave it in R. Otherwise, C++ can be considered. But you should also to take into account your skills in C++ programming. Programming time should be (largely) covered by the CPU time economy made with faster program.
Serguei. _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel