Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (6 sloc) 180 Bytes
library(RMySQL)
con = dbConnect(MySQL(), user="root", dbname="test")
dbListFields(con, "airport")
data = dbGetQuery(con, "select * from airport")
dbDisconnect(con)
View(data)