Skip to content
Prev 199579 / 398506 Next

Hand-crafting an .RData file

You can try read.csv.sql in the sqldf package. It reads a file into an
sqlite database which it creates for you using RSQLite/sqlite thus
effectively its done outside of R.  Then it extracts the portion you
specify using an sql statement and destroys the database.   Omit the
sql statement if you want the entire file.  Don't know if its faster
than read.table when used in that way but its only one line of code so
you could easily try it.  See example 13 on home page:
http://sqldf.googlecode.com
On Mon, Nov 9, 2009 at 12:27 AM, Adam D. I. Kramer <adik at ilovebacon.org> wrote: