Created
October 10, 2014 00:31
-
-
Save drheinheimer/cbfe359050dfd513d7da to your computer and use it in GitHub Desktop.
Connect to sqlite database in R. Requires RSQLite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get.conn <- function(dbpath) { | |
sqlite <- dbDriver("SQLite") | |
conn <- dbConnect(sqlite, dbpath) | |
return(conn) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment