Tag Archives: R

Creating data frame row-by-row in R

When manipulating data in R, I often find myself in a situation where I have to create a new data frame in an iterative row-by-row way. There are approaches to do it this way, but a natural question is which … Continue reading

Posted in R | Tagged | 6 Comments

Comparison of application of Rcpp and rJava in R

Introduction I implemented a simple algorithm that computes distances between all pairs of given set of n-dimensional points. The algorithm is implemented in C++ and Java. To communicate with C++ code, I use R’s Rcpp package. To communicate with Java, … Continue reading

Posted in R | Tagged , , | 6 Comments