Skip to content
Prev 32426 / 398530 Next

write.table only writes the first 256 variables/columns

You cannot increase the column/field limit in any of the MS Office
products.

At least for the desktop MS applications (and presumably for all ODBC
based driver interactions) there is a 255 column limit in the CREATE
TABLE SQL query as part of the ODBC limitations.

A reference is here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcjetsdk_149.asp

The major changes in recent versions of Excel relative to sheet size was
to increase the number of rows, which in Excel XP (2002) is 65,536 rows
by 256 columns.

HTH,

Marc Schwartz
On Fri, 2003-05-23 at 10:02, Giles Innocent wrote: