I am exporting a 2GB data frame from R to MySQL. My each column is having so many values. While exporting Data from R to MySQL i am getting following error:
could not run statement: Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored inline.
command i used:
dbWriteTable(conn = con, name = 'tablename', value = as.data.frame(cc))
I am using RMySQL package to export data to MySQL database. I didn't already create table in MySQL database. I am directly creating table from R. Can I change the column's class type to BLOB in R? How to deal with it?