[R] odbcConnectExcel2007 creates corrupted files

2011-03-01 Thread Mark Lyman
I tried creating a .xlsx file using odbcConnectExcel2007 and adding a worksheet with sqlSave. This seems to work, I am even able to query the worksheet, but when I try opening the file in Excel I get the following message: Excel cannot open the file 'test.xlx' because the file format or file

[R] odbcConnectExcel2007 connection error

2010-02-02 Thread Liam Blanckenberg
Hi all, Apologies if I violate any posting etiquette - this is my first submission to the R mailing list. I regularly use 'odbcConnectExcel2007' (from package 'RODBC') to read data from named ranges in excel workbooks into R. I recently received the following error message when attempting to set

Re: [R] odbcConnectExcel2007 connection error

2010-02-02 Thread Gabor Grothendieck
You could try the other methods listed here to see if any of then work in this case: http://wiki.r-project.org/rwiki/doku.php?id=tips:data-io:ms_windows On Wed, Feb 3, 2010 at 12:46 AM, Liam Blanckenberg liam.blanckenb...@gmail.com wrote: Hi all, Apologies if I violate any posting etiquette -

Re: [R] odbcConnectExcel2007

2008-11-02 Thread Prof Brian Ripley
On Tue, 28 Oct 2008, Agnolucci, Paolo wrote: Hi sorry if this is really basic but I am just starting on R. Can anyone point me at how to write R objects into Excel 2007 files. I have seen how to set up a connection to a file through odbcConnectExcel2007(xls.file, readOnly = FALSE, ...)

[R] odbcConnectExcel2007

2008-10-28 Thread Agnolucci, Paolo
Hi sorry if this is really basic but I am just starting on R. Can anyone point me at how to write R objects into Excel 2007 files. I have seen how to set up a connection to a file through odbcConnectExcel2007(xls.file, readOnly = FALSE, ...) but it doesn't say anything on how to write data

Re: [R] odbcConnectExcel2007

2008-10-28 Thread Chrischizinski
Agnolucci, Paolo wrote: Hi sorry if this is really basic but I am just starting on R. Can anyone point me at how to write R objects into Excel 2007 files. I have seen how to set up a connection to a file through odbcConnectExcel2007(xls.file, readOnly = FALSE, ...) but it