[R] popular R packages

Gabor Grothendieck ggrothendieck at gmail.com
Sat Mar 7 22:14:47 CET 2009


This function will show which other packages depend on a particular
package:

> dep <- function(pkg, AP = available.packages()) {
+    pkg <- paste("\\b", pkg, "\\b", sep = "")
+    cat("Depends:", rownames(AP)[grep(pkg, AP[, "Depends"])], "\n")
+    cat("Suggests:", rownames(AP)[grep(pkg, AP[, "Suggests"])], "\n")
+ }
> dep("zoo")
Depends: AER BootPR FinTS PerformanceAnalytics RBloomberg
StreamMetabolism TSfame TShistQuote VhayuR dyn dynlm fda fxregime
lmtest meboot party quantmod sandwich sde strucchange tripEstimation
tseries xts
Suggests: TSMySQL TSPostgreSQL TSSQLite TSdbi TSodbc UsingR Zelig
gsubfn playwith pscl tframePlus


On Sat, Mar 7, 2009 at 2:57 PM, Jeroen Ooms <j.c.l.ooms at uu.nl> wrote:
>
> I would like to get some idea of which R-packages are popular, and what R is
> used for in general. Are there any statistics available on which R packages
> are downloaded often, or is there something like a package-survey? Something
> similar to http://popcon.debian.org/ maybe? Any tips are welcome!
>
> -----
> Jeroen Ooms * Dept. of Methodology and Statistics * Utrecht University
>
> Visit  http://www.jeroenooms.com www.jeroenooms.com  to explore some of my
> current projects.
>
>
>
>
>
>
> --
> View this message in context: http://www.nabble.com/popular-R-packages-tp22391260p22391260.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>




More information about the R-help mailing list