[R] odfWeave - "Format error discovered in the file in sub-document content.xml at 2, 4047 (row, col)"

Søren Højsgaard Soren.Hojsgaard at agrsci.dk
Tue Nov 16 14:26:52 CET 2010


Dear Mike,

Good point - thanks. The lines that caused the error mentioned above are simply:

<<>>=
x <- 1:10
x
@

I could add that the document 'simple.odt' (which comes with odfWeave) causes the same error - but at row=109, col=1577

> sessionInfo()
R version 2.12.0 (2010-10-15)
Platform: x86_64-pc-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=Danish_Denmark.1252  LC_CTYPE=Danish_Denmark.1252    LC_MONETARY=Danish_Denmark.1252 LC_NUMERIC=C                    LC_TIME=Danish_Denmark.1252    

attached base packages:
[1] grid      stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] MASS_7.3-8      odfWeave_0.7.14 XML_3.2-0.1     lattice_0.19-13

loaded via a namespace (and not attached):
[1] tools_2.12.0


Regards
Søren

-----Oprindelig meddelelse-----
Fra: Mike Marchywka [mailto:marchywka at hotmail.com] 
Sendt: 16. november 2010 12:56
Til: Søren Højsgaard; r-help at stat.math.ethz.ch
Emne: RE: [R] odfWeave - "Format error discovered in the file in sub-document content.xml at 2, 4047 (row, col)"








----------------------------------------
From: Soren.Hojsgaard at agrsci.dk
To: r-help at stat.math.ethz.ch
Date: Tue, 16 Nov 2010 11:32:06 +0100
Subject: [R] odfWeave - "Format error discovered in the file in sub-document content.xml at 2, 4047 (row, col)"


When using odfWeave on an OpenOffice input document, I can not open the output document. I get the message

"Format error discovered in the file in sub-document content.xml at 2,4047 (row,col)"

Can anyone help me on this? (Apologies if this has been discussed before; I have not been able to find any info...)

well, if it really means line 2 you could post the first few lines. Did you expect a line
with 4047 columns? 




Info:
I am using R.2.12.0 on Windows 7 (64 bit). I have downloaded the XML package from http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.12/ and I have compiled odfWeave myself

Best regards
Søren

        [[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.
 		 	   		  



More information about the R-help mailing list