Skip to content

writing to .xlsx

5 messages · jim holtman, Gabor Grothendieck, Marc Schwartz +1 more

#
Can you use '.xls' format files? If so, XLConnect works pretty good
for those.  If you are using '.xlsx' format (zip files internally),
XLConnect takes much more CPU and memory to handle them.

On Wed, Jan 9, 2013 at 2:19 PM, Benjamin Caldwell
<btcaldwell at berkeley.edu> wrote:

  
    
#
On Wed, Jan 9, 2013 at 2:19 PM, Benjamin Caldwell
<btcaldwell at berkeley.edu> wrote:
Check out
http://rwiki.sciviews.org/doku.php?id=tips:data-io:ms_windows&s=excel
and in particular the WriteXLS package can write Excel 2003 files
(xls) using perl.


--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com
#
On Jan 9, 2013, at 2:45 PM, Gabor Grothendieck <ggrothendieck at gmail.com> wrote:

            
Thanks for the referral Gabor.

If Benjamin needs the xlsx format due to the larger dimensions supported, WriteXLS, since it writes xls format files, would not likely be suitable. Otherwise, of course, current versions of Excel can open the older format.

If Benjamin simply needs to dump larger (for some definition of larger) datasets externally in format that is compatible with Excel, he could write out CSV files that, of course, can then be opened in Excel. That presumes that he is not looking to do any other formatting of the worksheets or other similar functionality that is native to Excel.

Regards,

Marc Schwartz