Skip to content
Prev 244609 / 398502 Next

WriteXLS error:Error in get(x, envir = envir) : variable names are limited to 256 bytes

On Dec 10, 2010, at 4:14 PM, David Winsemius wrote:

            
Hi David and Patrick,

Apologies for the delay in my reply as I am away on vacation at the moment.

As David surmised initially, the name of the object(s) to be exported, needs to be passed as a character vector. The vector can either contain the names of one or more data frames, or can be the single name of a list of data frames. The latter option was added in a September update. See the help page for an example of use.

Thus:

  WriteXLS("alldata", "test.xls")

should work.

HTH,

Marc Schwartz