R dplyr的副本到RMySQL无法重新表达文档中的示例

问题描述

我正在尝试在dplyr documentation上运行示例,而我正在

con = DBI::dbConnect(RMysqL::MysqL(),host = "localhost",db = "yourdb",# set your db here :)
                     user = "root",password = rstudioapi::askForPassword("Database password")
)

copy_to(con,nycflights13::flights,"flights",temporary = FALSE,indexes = list(
          c("year","month","day"),"carrier","tailnum","dest"
        )
)

Error in .local(conn,statement,...) : 
  unused argument (immediate = TRUE)

我正在使用W10,MysqL 8.0。

想法?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)