R for Internet/Web Applications

Posted on Nov 14, 2012 in Programming • Tagged with email, R, Web, programming, network, internet, CRAN

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

Sending/Receiving Emails

  1. There are many ways to send email in R. First, you can use sendmail{sendmailR}. The following code is a simple test email.

    sendmail …

Continue reading

Keep Matrix Structure when Extract a Row/Column from a Matrix

Posted on Aug 14, 2012 in Programming • Tagged with programming, data structure, algebra, matrix, R, vector, CRAN

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

I talked in the post Abuse of Vector in R that it is often the case that we want keep the matrix sturcture when extracting a row …


Continue reading

Easy Made Mistakes when Writing R code

Posted on Jun 14, 2012 in Programming • Tagged with vector, operator, mistake, 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.

Being flexible is a two-side sword to R. While it make it convenient and productive to use R, it is also very easy to make mistakes when …


Continue reading

Filesystem in MATLAB

Posted on Dec 14, 2012 in Computer Science • Tagged with filesystem, programming, MATLAB, file 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. Function path can be used to either display or modify the search path of MATLAB. Its functionality in MATLAB is similar to the functionality of environment variable …


Continue reading

Skills for R

Posted on Nov 14, 2012 in Programming • Tagged with R, skills, programming, CRAN

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

  1. Unlike C/C++, Java and SAS, you do not have semicolon to indicate the end of a command, but you can do this if you like. It …


Continue reading

Generating Random Numbers in SAS

Posted on Mar 10, 2015 in Computer Science • Tagged with programming, SAS, random number generating, RANDGEN, rand

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

CALL RANDGEN( result, distname …


Continue reading