Group statistics are particularly challenging for R. We demystify some of the optimizations used by data.table and dplyr, and present a solution for when those optimizations fail.

Group statistics are particularly challenging for R. We demystify some of the optimizations used by data.table and dplyr, and present a solution for when those optimizations fail.

The special `.Internal(inspect(...))` R function displays usually-hidden details of R objects, but it is undocumented and unpublicized. This post is intended to act as an unofficial reference, primarily for my own use.

The special `.Internal(inspect(...))` R function displays usually-hidden details of R objects, but it is undocumented and unpublicized. This post is intended to act as an unofficial reference, primarily for my own use.

An examination of R's compute-on-the-language capabilities in the context of a Reverse Polish Notation parser.

An examination of R's compute-on-the-language capabilities in the context of a Reverse Polish Notation parser.

Step by step implementation of a 3D rendering pipeline, from projections, to meshes, to rasterization, using base R only.

Step by step implementation of a 3D rendering pipeline, from projections, to meshes, to rasterization, using base R only.

List data structures can be more efficient than their matrix and array counterparts. We take advantage of this to quickly shade triangles from vertex colors.

List data structures can be more efficient than their matrix and array counterparts. We take advantage of this to quickly shade triangles from vertex colors.