Skip to content
Prev 207342 / 398506 Next

How to implement a "select distinct x, count(distinct y) ... group by x" for a data frame

Regarding your subject, the sqldf package on CRAN allows you to apply
SQL statements directly to R data frames.  http://sqldf.googlecode.com

On Sat, Jan 23, 2010 at 5:46 PM, Dimitri Shvorob
<dimitri.shvorob at gmail.com> wrote: