I am fetching data from MySql Server into R using RODBC. So in one column of the database is a character vector
SELECT MAX(CHAR_LENGTH(column)) FROM req
The PostgreSQL ODBC driver has a variable called MaxLongVarcharSize that I have found set to 8190 by default (I've used it both on Windows and Ubuntu). It is possible that the MySQL ODBC driver has a similar variable set to 255.