[R] How many R packages?

Henrique Dallazuanna wwwhsd at gmail.com
Tue Feb 12 15:58:29 CET 2008


x <- available.packages()
length(unique(rownames(x)))

On 12/02/2008, Muenchen, Robert A (Bob) <muenchen at utk.edu> wrote:
> Hi All,
>
> I searched around to find the number of R packages currently available,
> but didn't find anything, so I choose all repositories & told it to
> install. The list contained about 2,856 (correcting roughly for those
> installed). But the list includes repetitions such as 19 names that
> begin with "bvbovine".
>
> Selecting only CRAN and CRAN(extras) I get 1,344.
>
> Is there an easier way to determine the total number of R packages
> available?
>
> Thanks,
> Bob
>
> =========================================================
> Bob Muenchen (pronounced Min'-chen), Manager
> Statistical Consulting Center
> U of TN Office of Information Technology
> 200 Stokely Management Center, Knoxville, TN 37996-0520
> Voice: (865) 974-5230
> FAX: (865) 974-4810
> Email: muenchen at utk.edu
> Web: http://oit.utk.edu/scc,
> News: http://listserv.utk.edu/archives/statnews.html
> =========================================================
>
> ______________________________________________
> 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.
>


-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O



More information about the R-help mailing list