Using Rcpp

Contrary to what I sometimes like to believe, there are other computer programming languages than just R. R, and languages like Python, Perl, and Ruby, are considered high-level languages, because they offer a greater level of abstraction from computer representations and resource management than the lower-level languages. For example, in some lower-level languages, you must specify the data type of the variables you create and manage the allocation of RAM manually - C, C++, and Fortran are of this type.

The high level of abstraction R provides allows us to do amazing things very quickly, such as import a data set, run a linear model, and plot the data and regression line in no more than four lines of code! On the other hand, nothing ...

Get Data Analysis with R - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.