medriscoll medriscoll - 6 months ago 85
R Question

SQL-like functionality in R

I am used to writing data manipulation logic in SQL and now that I am learning R I find myself sometimes just wanting to do something that would be simple in SQL but I have to learn a bunch of stuff with R to do the same manipulation on an R data frame. Is there a simple work around?


look at the package sqldf. It seems perfect for your needs.