[R] odfWeave \ odfTable and encoding

From: kristell.desseaux <kristell.desseaux_at_univ-paris-diderot.fr>
Date: Wed, 20 Apr 2011 10:51:10 +0200

Dear All,

I usually use the package Sweave and Latex, but I want to explore the opportunities available with odfWeave. So I started exploring this "new" package.

I find myself hang while attempting to insert tables in the document odt. I built a data.frame to present the results of statistical analysis, more complex than a conventional contingency table.

Now when I run the command odfWeave, I get the following error that appears.

Post-processing the contents

Input is not proper UTF-8, indicate encoding !

Bytes: 0xE9 0x6D 0x69 0x6E

Erreur : 1: Input is not proper UTF-8, indicate encoding !

Bytes: 0xE9 0x6D 0x69 0x6E

It seems to be an encoding problem since I managed to turn the function odfWeave with another type of table less "complex" no accent, no "%" ...

Here is my current configuration, on Windows 7, SessionInfo ()

R version 2.10.1 (2009-12-14)




LC_COLLATE=French_France.1252LC_CTYPE=French_France.1252LC_MONETARY=French_France.1252 LC_NUMERIC=CLC_TIME=French_France.1252

attached base packages:

[1] gridsplinesstatsgraphicsgrDevices utilsdatasetsmethodsbase

other attached packages:

[1] MASS_7.3-4survival_2.35-7

chron_2.3-38xtable_1.5-6gdata_2.8.0odfWeave_0.7.11 XML_3.2-0lattice_0.17-26

loaded via a namespace (and not attached):

[1] gtools_2.6.2 tools_2.10.1

I also found this function that allows me to know the encoding in place l10n_info R ().


[1] TRUE

[1] 1252

I wanted to know if you knew how to change the encoding of reference in R?

Thank you very much.




Département de Biostatistique et Informatique Médicale
Hôpital Saint Louis, 1 avenue Claude Vellefaux
75475 PARIS Cedex 10

Tel : +33 (0)1 42 49 97 48
Sec : +33 (0)1 42 49 97 42
Fax : +33 (0)1 42 49 97 45

	[[alternative HTML version deleted]]

______________________________________________ R-help_at_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.

Received on Wed 20 Apr 2011 - 08:59:22 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 20 Apr 2011 - 10:40:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive