List Installed R Packages

June 7, 2017    R-notes   

I’m going to be changing computers soon (from my desktop at Princeton to a new PC at BU). What packages do I have installed in R?

library(data.table)
library(magrittr)

installed.packages() %>%
  as.data.table() %>%
  fwrite("D:/dropbox/research/R_packages.csv")

There’s a lot of them, but at least now I have an up to date list.