Skip to content

Instantly share code, notes, and snippets.

@drheinheimer
Created October 10, 2014 00:31
Show Gist options
  • Save drheinheimer/cbfe359050dfd513d7da to your computer and use it in GitHub Desktop.
Save drheinheimer/cbfe359050dfd513d7da to your computer and use it in GitHub Desktop.
Connect to sqlite database in R. Requires RSQLite
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