/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

www.noamross.net
| | www.r-statistics.com

This post is about speeding up your R code using the JIT (just in time) compilation capabilities offered by the new (well, now a year old) {compiler} package. Specifically, dealing with the practical difference between enableJIT and the cmpfun functions. If you do not want to read much, you can just skip to the example
3.7 parsecs

Travel
| |
| | aosmith.rbind.io

In this post I delve into the details of the R functions I've been using in my simulation examples, focusing on the replicate() function and the map family of functions from the purrr package. I spend a little time showing the parallels between the replicate() function and a for() loop.
4.8 parsecs

Travel
| |
| | codingclubuc3m.rbind.io

Learning to code can be quite hard. Apart from the difficulties of learning a new language, following a book can be quite boring. From my point of view, one of the bests ways to become a good programmer is choosing small and funny experiments oriented to train specific techniques of programming. This is what I usually do in my blog Fronkonstin. In this tutorial, we will learn to combine C++ with R to create efficient loops.
2.7 parsecs

Travel
| |
| | www.vox.com

HBO's Game of Thrones: episode recaps, reviews, analysis, and roundtable discussions.
18.0 parsecs

Travel
|