Program Termination in SAS

Posted on Jan 05, 2015 in Computer Science • Tagged with programming, SAS, termination, exit, quit, stop, error

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. **

To print an error …


Continue reading

Cartesian Product in SAS

Posted on Oct 23, 2014 in Computer Science • Tagged with programming, SAS, Cartesian product

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

Suppose we have 2 variables x = ("a", "b", "c") and y = (1, 2, 3), and we want to create a dataset containing the Cartesian product of x …


Continue reading

Check the Type of a SAS Variable

Posted on Aug 22, 2014 in Computer Science • Tagged with programming, SAS, data type, variable, proc content, putn

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

** Things on this page are fragmentary and immature notes/thoughts of the author. It is not meant to readers but rather for convenient reference of the author …


Continue reading

General Tips for MATLAB

Posted on Dec 08, 2012 in Computer Science • Tagged with tips, skills, 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.

Skills

  1. MATLAB support profiling running time of code, so that you what to work on to optimize your code.s

  2. It is expensive to allocate a new …


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