Write R Code that Runs Faster

Posted on Jun 26, 2012 in Programming • Tagged with DLL, programming, HPC, high performance computing, parallel, R, memory, GC, speedup, fast, CRAN

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

R is a popular statistical software which is famous for enormous amout of packages. The syntax of R is very flexible with make it convenient at the …


Continue reading

Rcpp Rocks

Posted on Sep 16, 2012 in Computer Science • Tagged with C++, list, programming, HPC, Rcpp, R, RcppArmadillo, Armadillo, rock

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

Please see here for some simple examples for learning Rcpp and related packages.

Tips

  1. Though you can overload functions in a Rcpp module, it causes problems when …


Continue reading

Parallel Computing in MATLAB

Posted on Dec 19, 2012 in Computer Science • Tagged with HPC, parallel, concurrency, programming, MATLAB

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

  1. It is very easy to do parallel computing in MATLAB. Usually what you have to do is to change for to parfor for the loop that you …

Continue reading