Programmatically get list of base packages
r
Solution
rownames(installed.packages(priority="base"))
[1] "base" "compiler" "datasets" "graphics" "grDevices" "grid"
[7] "methods" "parallel" "splines" "stats" "stats4" "tcltk"
[13] "tools" "utils"
Problem
How can I get R to list its base install packages. Dirk gives a list HERE but how can I get R to tell me this information, that is the packages in `src/library/`? `getOption("defaultPackages")` is close but only lists some of these packages.