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

How to Submit R Packages to CRAN

Posted on Jun 03, 2012 in Programming • Tagged with R, ftp, sftp, programming, submit, package, CRAN

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

Submit using web form or using ftp following the steps below.

  1. Upload the .tar.gz file using anonymous as log-in name and your e-mail address as password …


Continue reading

Passing Arrays Between R and Other Programming Languages

Posted on May 02, 2012 in Computer Science • Tagged with array, R, C/C++, programming, Java

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

A matrix or an array in R is essentially a vector with dimension attribute. For this reason, no matter you pass a vector, matrix or an array …


Continue reading

RStudio Does Not Start

Posted on May 26, 2012 in Software • Tagged with IDE, R, statistics, software, configuration, RStudio, CRAN

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

Rstudio is the best cross-platform IDE for R so far. It is a lot like the IDE of MATLAB. Once I came across the problem that Rstudio …


Continue reading

Time and Date in R

Posted on Nov 14, 2012 in Programming • Tagged with R, date, time, 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. The function as.Date and strptime convert string to dates. For these functions to work right, you must use the right format.

Compare R with Other Languages on Data Manipulation

Posted on May 13, 2012 in Computer Science • Tagged with Python, C++, programming, statistics, Java, string, data frame, R, OOP, MATLAB, CRAN

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

Here I compare R with other languages such as C/C++, Java, MATLAB, Python and so on data manipulation. I list a few advantages and disadvantages of …


Continue reading