Aliases: installed.packages
Keywords: utilities
### ** Examples ## confine search to .Library for speed str(ip <- installed.packages(.Library, priority = "high"))
chr [1:29, 1:16] "base" "boot" "class" "cluster" "codetools" "compiler" ... - attr(*, "dimnames")=List of 2 ..$ : chr [1:29] "base" "boot" "class" "cluster" ... ..$ : chr [1:16] "Package" "LibPath" "Version" "Priority" ...
ip[, c(1,3:5)]
Package Version Priority base "base" "4.2.3" "base" boot "boot" "1.3-28.1" "recommended" class "class" "7.3-21" "recommended" cluster "cluster" "2.1.4" "recommended" codetools "codetools" "0.2-19" "recommended" compiler "compiler" "4.2.3" "base" datasets "datasets" "4.2.3" "base" foreign "foreign" "0.8-84" "recommended" graphics "graphics" "4.2.3" "base" grDevices "grDevices" "4.2.3" "base" grid "grid" "4.2.3" "base" KernSmooth "KernSmooth" "2.23-20" "recommended" lattice "lattice" "0.20-45" "recommended" MASS "MASS" "7.3-58.2" "recommended" Matrix "Matrix" "1.5-3" "recommended" methods "methods" "4.2.3" "base" mgcv "mgcv" "1.8-42" "recommended" nlme "nlme" "3.1-162" "recommended" nnet "nnet" "7.3-18" "recommended" parallel "parallel" "4.2.3" "base" rpart "rpart" "4.1.19" "recommended" spatial "spatial" "7.3-16" "recommended" splines "splines" "4.2.3" "base" stats "stats" "4.2.3" "base" stats4 "stats4" "4.2.3" "base" survival "survival" "3.5-3" "recommended" tcltk "tcltk" "4.2.3" "base" tools "tools" "4.2.3" "base" utils "utils" "4.2.3" "base" Depends base NA boot "R (>= 3.0.0), graphics, stats" class "R (>= 3.0.0), stats, utils" cluster "R (>= 3.5.0)" codetools "R (>= 2.1)" compiler NA datasets NA foreign "R (>= 4.0.0)" graphics NA grDevices NA grid NA KernSmooth "R (>= 2.5.0), stats" lattice "R (>= 3.0.0)" MASS "R (>= 3.3.0), grDevices, graphics, stats, utils" Matrix "R (>= 3.5.0), methods" methods NA mgcv "R (>= 3.6.0), nlme (>= 3.1-64)" nlme "R (>= 3.5.0)" nnet "R (>= 3.0.0), stats, utils" parallel NA rpart "R (>= 2.15.0), graphics, stats, grDevices" spatial "R (>= 3.0.0), graphics, stats, utils" splines NA stats NA stats4 NA survival "R (>= 3.5.0)" tcltk NA tools NA utils NA
plic <- installed.packages(.Library, priority = "high", fields = "License") ## what licenses are there: table( plic[, "License"] )
GPL GPL (>= 2) GPL (>= 2) | file LICENCE 1 5 1 GPL-2 | GPL-3 LGPL (>= 2) Part of R 4.2.3 5 1 14 Unlimited 2