Re: [R] How many R packages?

From: Henrique Dallazuanna <wwwhsd_at_gmail.com>
Date: Tue, 12 Feb 2008 12:58:29 -0200

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

______________________________________________
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.
Received on Tue 12 Feb 2008 - 15:24:47 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 12 Feb 2008 - 16:30:13 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive