I am trying to copy a local dataframe from R to my db2 database. I have permissions to write to the table and I have verified the connection is working.
I am using:
copy_to(connection, data.frame, name = my_table_name)
I am getting the following error and it doesnt make sense to me. The object it says does not exist is the very object I am trying to create. What am I doing wrong?
Error in typeof(x) : object 'my_table_name' not found