2  R Packages

R’s strength lies not just in its statistical capabilities, but in its open-source nature. R’s code is freely available for anyone to inspect, modify, and improve. This openness has cultivated a vibrant global community of statisticians, data scientists, and developers who actively contribute to the language’s evolution.

The R package ecosystem exemplifies this collaborative spirit. Community members can develop packages that address specific needs that span many academic domains (see Task Views). These packages allow you to utilize and build on classic and new analytical methods, advancing science and, thereby, public good.

2.1 Workshop package

When I figure out how to do it, I’m going to make an R package that’s hosted on my GitHub that:

  • installs all the necessary packages for the workshop
  • contains all the syntax files for the workshop
  • contains all the data for the workshop

2.2 Individual package details

I’ll also highlight some of the key R packages used in the workshop.

2.3 Generative AI packages

A number of packages have been developed to more easily facilitate interacting with LLMs via R. Many of these packages are useful (we’ll cover some of those in the workshop), whereas other packages include some developer design decisions that don’t work particularly well for my usual workflows. You can find some information about those packages in this section.