I am having trouble with the dbWriteTable command from the RMySQL package. I have to append records to a table name which is called 'order', a reserved word in MySQL.
dbWriteTable(connection, "`order`", df, append = T)
Give as error:
Warning message: In mysqlWriteTable(conn, name, value, ...) : could not create table: aborting mysqlWriteTable
Other queries like SELECT work fine as long as I put order between back ticks.
Any ideas how the execute the dbWriteTable command? And renaming the table is unfortunately no option.