Posted on January 27, 2016
This is a friendly introduction to variadic templates
(and thereby, variadic functions) in C++. We can use
variadic functions to write functions that accept an
arbitrary number of arguments.
Read More →
Posted on November 22, 2015
Let’s investigate what, underneath the
covers, an R
function really is, and how
the components are used when R
evaluates
a function. In doing so, we’ll take a
number of detours, as understanding how R
function calls really work requires an
understanding of some subtle details. By
the end of this, we’ll be able to simulate
what R
does internally when it evaluates
a function.
Read More →
Posted on October 23, 2015
Are you familiar with testthat?
It’s another package from the Hadleyverse that
makes it easy (and fun!) to write unit tests
for your R code. The tests you write look
something like this:
Read More →
Posted on May 24, 2015
I was recently introduced to the joys of
tmux
by
a colleague, and felt like sharing a bit of
what I learned.
Read More →
Posted on April 13, 2015
We talked about
debugging with valgrind
last time, and saw how we can catch an insidious kind
of memory usage error called a segfault with its
memcheck
tool.
Read More →