I use the following sintaxis for the packages:

For WriteXLS I use:

writeXLS(todo2009,"todo2009.xls")

And for dataframes2xls I use:
dataframe2xls::write.xls(todo2009,"todo2009.xls")



El lun, 06-09-2010 a las 12:34 -0400, David Winsemius escribió:
> On Sep 6, 2010, at 12:25 PM, Kenneth Roy Cabrera Torres wrote:
> 
> > Thank you Ivan for you answer:
> > El lun, 06-09-2010 a las 18:11 +0200, Ivan Calandra escribió:
> >> Hi,
> >>
> >> Are you sure you used the correct syntax and object names? It might  
> >> just
> >> be because of that...(reading the error messages)
> > Im sure, because it works with write.csv or write.table.
> 
> Sure? You are making the incorrect assumption that those write  
> functions have the same syntax. At least for WriteXLS that assumption  
> is false. The help page clearly states that the objects need to be  
> quoted rather than being referred to by their "naked" names. The error  
> you are getting with your "second option" suggests to me that you  
> offered an unquoted name of an object.
> 
> You can offer a vector of quoted names of dataframes to WriteXLS and  
> each named dataframe will be converted to a worksheet within the  
> workbook.
>

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to