Paul wrote:> Hello
>
> I tried the odfWeave package today, by running the formatting.odt and
> example.odt files that are included with the package.
>
> They both ran fine, but when I try to open them in my OpenOffice
> (OpenOffice 3.1.1 on Kubuntu 9.10) I get an error "Format error
> discovered in the file in sub-document content.xml at
1293,124(row,col)."
>
> I also tried to open them in MS Word 2003 (Windows XP) using the Sun
> ODF plugin but this gave an error also.
>
> Am I trying to do something wrong ? Any tips on debugging ?
Sorry, forgot the debugging info. odfWeave v0_7.10 and R 2.10.1. Any
ideas appreciated.
> library(odfWeave)
Loading required package: lattice
Loading required package: XML
> sessionInfo()
R version 2.10.1 (2009-12-14)
i386-pc-mingw32
locale:
[1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United
Kingdom.1252 LC_MONETARY=English_United Kingdom.1252
[4] LC_NUMERIC=C LC_TIME=English_United Kingdom.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] odfWeave_0.7.10 XML_2.6-0 lattice_0.17-26
loaded via a namespace (and not attached):
[1] grid_2.10.1
> Sys.getlocale()
[1] "LC_COLLATE=English_United Kingdom.1252;LC_CTYPE=English_United
Kingdom.1252;LC_MONETARY=English_United
Kingdom.1252;LC_NUMERIC=C;LC_TIME=English_United Kingdom.1252"
> library(help=odfWeave)
Information on package 'odfWeave'
Description:
Package: odfWeave
Type: Package
Title: Sweave processing of Open Document Format (ODF) files
Version: 0.7.10
Date: 2009-01-25
Author: Max Kuhn, Steve Weaston
Maintainer: Max Kuhn <max.kuhn@pfizer.com
<mailto:max.kuhn@pfizer.com>>
Description: Sweave processing of Open Document Format (ODF) files
Depends: R (>= 2.3.1), lattice, XML
License: GPL 2
Packaged: Sun Jan 25 20:26:09 2009; kuhna03
Built: R 2.10.1; ; 2010-01-19 12:59:41 UTC; windows
Index:
RweaveOdf R/ODF Driver for Sweave
adjustImageSize Automate image size adjustments
announce cat and flush console
listString Convert a vector to a textual list
matrixPaste Element-Wise Paste of Conforming Matrices
odfCat Concatenate and Print in Native ODF
odfFigureCaption Provide a Caption for a Figure
odfInsertPlot Write XML for image inseration
odfItemize Write XML for one layer lists
odfPageBreak Generate a Page Break
odfSetPageStyle Set the Page Style
odfTable Create an Open Document Format table
odfTableCaption Provide a Caption for a Table
odfTmpDir odfWeave working directory
odfTranslate Translation of text to XML
odfWeave Sweave processing of Open Document Format (ODF)
files
odfWeaveControl Control odfWeave options
pkgVersions List packages currently used
setStyles Style Definitions and Assignments
tableStyles Generate Table Styles
Further information is available in the following vignettes in directory
'C:/Program Files/R/R-2.10.1/library/odfWeave/doc':
odfWeave: odfWeave Manual (source, pdf)
[[alternative HTML version deleted]]