[R] SQL vs R

Dr Eberhard Lisse nospam at lisse.NA
Fri May 2 23:23:13 CEST 2014


Hi,

How do I do something like this without using sqldf?

a <- sqldf("SELECT COUNT(*) FROM b WHERE c = 'd'")

or

e <- sqldf("SELECT f, COUNT(*) FROM b GROUP BY f ORDER BY f")

greetings, el



More information about the R-help mailing list