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

General Tips for R

Posted on Nov 05, 2012 in Computer Science • Tagged with tips, R, generic, programming, argument

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

  1. Many R functions have lots of arguments which allows you get a full control of their behaviors, so before you ask whether there is any R function …


Continue reading

Distributions in R

Posted on Nov 05, 2012 in Computer Science • Tagged with distribution, R, programming, statistics

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

  1. The definition of geometric distribution in R is not the same as the common definition. A random variable of geometric distribution in R starts from zero, i …


Continue reading

Random Number Generating in R

Posted on Nov 05, 2012 in Computer Science • Tagged with R, programming, RNG

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

  1. Functions for sampling random numbers from distributions share a same "basic" random number generator (RNG). If one set a seed for the "basic" RNG in use, it …


Continue reading

Some Links for R

Posted on Oct 20, 2013 in Programming • Tagged with links, programming, R, CRAN

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

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


Continue reading

R System and Configurations

Posted on Nov 21, 2012 in Computer Science • Tagged with R, configuration, programming, system

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

  1. To allow opening R from a directory in R in Windows system, we can modify the registry. More specifically, we can add a command name (to be …


Continue reading