Am 13.08.2013 19:40, schrieb Hugo Varet:
> Dear R users,
> 
> I've just updated the WriteXLS package (on R 3.0.1) and I now have an error
> when exporting a data.frame with the argument Encoding="latin1". For
> example, these two lines work:
>    library(WriteXLS)
>    WriteXLS("iris", "iris.xls")
> whereas these ones don't work:
>   library(WriteXLS)
>   WriteXLS("iris", "irislatin1.xls",Encoding="latin1")
> I get this message:
> Argument "Sepal.Length" isn't numeric in subroutine entry at
> C:/Perl64/lib/Encode.pm line 217, <CSVFILE> line 1.
> Modification of a read-only value attempted at C:/Perl64/lib/Encode.pm line
> 218, <CSVFILE> line 1.
> The Perl script 'WriteXLS.pl' failed to run successfully.
> Message d'avis :
> l'exécution de la commande 'perl
> -I"C:/Users/varet/Documents/R/win-library/3.0/WriteXLS/Perl"
> "C:/Users/varet/Documents/R/win-library/3.0/WriteXLS/Perl/WriteXLS.pl"
> --CSVPath "C:\Users\varet\AppData\Local\Temp\RtmpEzqFNz/WriteXLS" --verbose
> FALSE --AdjWidth FALSE --AutoFilter FALSE --BoldHeaderRow FALSE --FreezeRow
> 0 --FreezeCol 0 --Encoding latin1 "C:\Users\varet\Desktop\irislatin1.xls"'
> renvoie un statut 255
> 
> Does anyone know why it failed? May it be a problem with Perl?
> 
> Thanks for your help,
> 
> Hugo Varet

Does this also occur with WriteXLS version 3.2.1 ?

______________________________________________
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