http://danielfischer.name/science/lectures/introduction-to-r/using-sqlite-in-r/
Using SQLite in R