但是R能够轻松地连接到诸如MySql, Oracle, Sql server等多种关系数据库并且可以从它们的记录转为R中的数据帧。...dbSendQuery(mysqlconnection, "update mtcars set disp = 168.5 where hp = 110")
在执行上面的代码后,我们可以看到该表在MySQL...将数据插入到表
dbSendQuery(mysqlconnection,
"insert into mtcars(row_names, mpg, cyl, disp, hp, drat, wt, qsec..., "mtcars", mtcars[, ], overwrite = TRUE)
在执行上面的代码后,我们可以看到在MySQL环境中有创建后的表。...dbSendQuery(mysqlconnection, 'drop table if exists mtcars')
在执行上面的代码后,我们可以看到该表在MySQL环境被丢弃。
?