Skip to content
Prev 260851 / 398502 Next

Processing large datasets

In cases where I have to parse through large datasets that will not
fit into R's memory, I will grab relevant data using SQL and then
analyze said data using R. There are several packages designed to do
this, like [1] and [2] below, that allow you to query a database using
SQL and end up with that data in an R data.frame.

[1] http://cran.cnr.berkeley.edu/web/packages/RMySQL/index.html
[2] http://cran.cnr.berkeley.edu/web/packages/RSQLite/index.html
On Wed, May 25, 2011 at 12:29 AM, Roman Naumenko <roman at bestroman.com> wrote: