Installing all R Commander plugins

## Obtain names of all packages on CRAN
names.available.packages <- rownames(available.packages())

## Extract packages names that contain Rcmdr
Rcmdr.related.packages <- names.available.packages[grep("Rcmdr", names.available.packages)]
Rcmdr.related.packages
 [1] "Rcmdr"                      "RcmdrPlugin.BCA"            "RcmdrPlugin.coin"          
 [4] "RcmdrPlugin.depthTools"     "RcmdrPlugin.doBy"           "RcmdrPlugin.DoE"           
 [7] "RcmdrPlugin.doex"           "RcmdrPlugin.EACSPIR"        "RcmdrPlugin.EBM"           
[10] "RcmdrPlugin.epack"          "RcmdrPlugin.Export"         "RcmdrPlugin.EZR"           
[13] "RcmdrPlugin.FactoMineR"     "RcmdrPlugin.HH"             "RcmdrPlugin.IPSUR"         
[16] "RcmdrPlugin.KMggplot2"      "RcmdrPlugin.MAc"            "RcmdrPlugin.MAd"           
[19] "RcmdrPlugin.mosaic"         "RcmdrPlugin.MPAStats"       "RcmdrPlugin.orloca"        
[22] "RcmdrPlugin.pointG"         "RcmdrPlugin.PT"             "RcmdrPlugin.qcc"           
[25] "RcmdrPlugin.qual"           "RcmdrPlugin.SCDA"           "RcmdrPlugin.seeg"          
[28] "RcmdrPlugin.SLC"            "RcmdrPlugin.SM"             "RcmdrPlugin.sos"           
[31] "RcmdrPlugin.StatisticalURV" "RcmdrPlugin.steepness"      "RcmdrPlugin.survival"      
[34] "RcmdrPlugin.TeachingDemos"  "RcmdrPlugin.UCA"           
## Install these packages
install.packages(pkgs = Rcmdr.related.packages)