Tips on the Ruby Programming Language

Posted on Aug 06, 2012 in Computer Science • Tagged with array, IO, Ruby, programming, string

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

Array

  1. The method push inserts an element to the back of the arry; the method insert inserts an element to any place of the array.

  2. The method …


Continue reading

Call Java in R Using Package rJava

Posted on Jun 23, 2012 in Computer Science • Tagged with programming, Java, array, rJava, R, vector, package

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

The package "rJava" offers a convenient way to call Java code from R. The following are some tips for using the "rJava" package.

  1. You must first start …


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