Curated list of R packages
There are often several R packages that do more or less the same thing, and it can take a bit of hunting to work out which one is most worth using. To save myself time spent googling the same things over and over, I've started making notes whenever I have to pick a package to do a thing. I'll keep those notes here, and maybe it can help save you time too.
I'll update this page from time to time as I think of more things to add. My aim is to keep these notes pretty objective and uncontroversial, but if I accidentally end up taking a side in any major debates, I hope you'll excuse me!
Layout inspired by blessed.rs.
Reading and writing files
Some packages for reading specific text formats (e.g. jsonlite, xml2) can also take URLs as input, bypassing the need for a separate package.
Visualisation and plots
|Combine multiple plots|
Data analysis and modelling
Both zoo and xts are widely used and recommended, and both provide an object class to represent time series data, and a variety of functions for operating on them. xts and zoo objects are interoperable at least to some extent. There is also a built-in ts class in R, but both zoo and xts seem preferable and more widely used.