To list all available that is installed packages for your GNU R installation, start GNU R:
$ R R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" Copyright (C) 2013 The R Foundation for Statistical Computing Platform: x86_64-redhat-linux-gnu (64-bit)
Once the GNU R program started use library
method to list all installed packages:
> library() Packages in library ‘/usr/local/R-packages’: ada ada: an R package for stochastic boosting amap Another Multidimensional Analysis Package arules Mining Association Rules and Frequent Itemsetsde ... utils The R Utils Package zoo S3 Infrastructure for Regular and Irregular Time Series (Z's ordered observations)
As alredy mentioned the above command will only list available packages. To see all currently loaded packages for your current GNU R session you can use search()
:
> search() [1] ".GlobalEnv" "package:stats" "package:graphics" [4] "package:grDevices" "package:utils" "package:datasets" [7] "package:methods" "Autoloads" "package:base"
In order to see a library path thus the filesystem location on where are all packages physically installed use .libPaths()
:
> .libPaths() [1] "/usr/local/R-packages" "/usr/lib64/R/library" "/usr/share/R/library"