YATORP — Yet Another Tutorial on R Packaging
[This article was first published on Thinking inside the box
, and kindly contributed to R-bloggers
]. (You can report issue about the content on this page here
Want to share your content on R-bloggers? click here
if you have a blog, or here
if you don't.
What the world needs right now is yet another tutorial on R packages and their creation. Luckily, this last Friday and Saturday, I had the opportunity to present in a workshop organized by Frank DiTraglia at Penn’s shiny new Warren Center, and held at Wharton.
Given the Warren Center’s focus, the workshop centered around Big Data and Open Science with R. Yihui Xie and myself alternated on delivering four units on an Introduction to R, Writing R packages, Dynamic Documents with R, and HPC with Rcpp and RcppArmadillo.
So I had to come up with a plan for teaching creating R packages — and decided to do it from the very bottom up, clearly introducing the underlying
R CMD ... commands and only then switching to taking advantage of an environment such as the RStudio IDE.
The resulting slides are now available on my presentations page. The code examples are in a repo subdirectory on GitHub as well. While both were designed to support the parallel live instruction offered in the workshop, I would be interested in feedback (preferably via email) about how useful the slides are by themselves.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
If you got this far, why not subscribe for updates
from the site? Choose your flavor: e-mail
, or facebook