sqlSave(channel = tdConnection, dat = table, tablename = "db.table", append = F, rownames = F, colnames = FALSE, verbose = F, safer = TRUE, addPK = F, fast = T, test = FALSE, nastring = NULL, varTypes = unlist(lapply(table, class)))
When I tried to upload my dataframe that has everything converted to either chr date or int I am getting the following error back for any variable with character as the variable type.
In odbcUpdate(channel, query, mydata, coldata[m, ], test = test, ... : character data 'Meba1' truncated to 1 bytes in column 'keycode'
Any ideas on why everything with a variable type of character would be getting truncated to only 1 byte?
rights to materials on this website, the rights you grant to your submissions to this website, and your responsibilities regarding your conduct on this website.