Skip to content

Instantly share code, notes, and snippets.

@vik-y
Created October 25, 2016 05:44
Show Gist options
  • Save vik-y/1c8f7eb19a77629be5634942d2b9b1a5 to your computer and use it in GitHub Desktop.
Save vik-y/1c8f7eb19a77629be5634942d2b9b1a5 to your computer and use it in GitHub Desktop.
Use sqlite table in R
library("RSQLite")
# connect to the sqlite file
driver <- dbDriver("SQLite")
con = dbConnect(driver, dbname="<absolute-path-to-sqlite-file>")
# get a list of all tables
alltables = dbListTables(con)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment