WriteXLS(x, ExcelFileName = "R.xls", perl = "perl", verbose = FALSE)The data frame column names will be exported "as is" and will be the first row in the corresponding worksheet.
The data frame row names will NOT be exported.
  UTF-8 encoded content in the data frame should be properly exported using
  the Perl Encode module by default.
  There is an intermediate step, where the R data frames are first written
  to CSV files using write.table before being written
  to the Excel file. tempdir is used to determine the 
  current R session temporary directory and a new sub-directory called "WriteXLS"
  will be created there. The CSV files will be written to that directory and
  both the files and the directory will be deleted prior to the function
  terminating normally using on.exit. It is possible that these 
  will remain in place if this function terminates abnormally or is aborted
  prior to completion.
All of the CSV files will be created prior to the creation of the Excel file as the Perl script will loop over them as part of the process. Thus, sufficient free disk space must be available for these files and the Excel file at the same time.
  Excel 2003 Specifications and Limitations 
  For Perl Unicode Issues 
write.table# Examples using built-in data frames 
  WriteXLS("iris", "iris.xls")
  WriteXLS(c("iris", "infert", "esoph"), "Example.xls")
  # Clean up and delete XLS files
  unlink("iris.xls")
  unlink("Example.xls")Run the code above in your browser using DataLab