R

What they forgot to teach you about R

This is a two-day hands on workshop designed for experienced R and RStudio users who want to (re)design their R lifestyle. You’ll learn holistic workflows that address the most common sources of friction in data analysis. We’ll work on …

Extending R Syntax in package space

R is a highly dynamic language with a long history of using syntax and language constructs to improve the usability, particularly in interactive use. Today the core of the R language is very stable and mature with tens of thousands of extension …

bench: A new take on benchmarking

5 minute lighting talk on the bench package, for performing micro-benchmarks while also tracking memory allocations and garbage collections.

Using a C level debugger in Rstudio

I often use C level debuggers such as lldb and gdb when debugging R packages with compiled code. If you are unfamiliar with doing this Kevin Ushey has an excellent post on the topic. Usually bugs are reproducible both from the R terminal and RStudio. If this is the case then running R under the debugger is easy; just start R from the terminal with R -d lldb. However more rarely there will be a bug that only occurs when the code is run in RStudio, and in these cases you would ideally like to be able to attach to the internal RStudio Rsession process.

Glue Strings To Data With Glue

String interpolation, evaluating a variable name to a value within a string, isa feature of many programming languages including Python, Julia, Javascript,Rust, and most Unix Shells. R's `sprintf()` and `paste()` functions provide some of this …

Alternative parsers in package space

Talk on a proof of concept in writing alternative parsers that could be used within R packages, as well as the [altparsers](https://github.com/jimhester/altparsers) package used to orchestrate them. This would let package authors experiment with …

bench

High precision timing of R expressions