[R] odfWeave examples not working

From: bartjoosen <bartjoosen_at_hotmail.com>
Date: Wed, 12 Mar 2008 02:24:59 -0700 (PDT)


I'm currently taking a look at possibilities to report my results, produced by R.
After looking at LaTex, I'm now considering the odf format, as most people at my
company work with MS Word. So using odfWeave would be my best bet probably.

But if I run some examples from the odfWeave package, I cant open the output in Open Office:

demoFile <- system.file("examples", "simple.odt", package = "odfWeave") outputFile <- gsub("simple.odt", "output.odt", demoFile) library(odfWeave)
odfWeave(demoFile, outputFile)

This will produce output.odt, which should be opened with OpenOfficeWriter I think.

But if I run the code above, I get a warning message: In strsplit(x, ".", extend = FALSE, fixed = TRUE) :   argument 'extended = FALSE' will be ignored

If I open output.odt, I get a message box from open office to select a filter used to open the file.
When I choose "open office 1.0 text document" I get: The file is damaged, should Oo try to repair?
But after repair, I get a blank work sheet.

I'm working on windows XP, session info: R version 2.6.2 (2008-02-08)


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

other attached packages:
[1] MASS_7.2-40 odfWeave_0.7.3 XML_1.93-2.2 lattice_0.17-4

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

Kind regards


View this message in context: http://www.nabble.com/odfWeave-examples-not-working-tp16000639p16000639.html
Sent from the R help mailing list archive at Nabble.com.

R-help_at_r-project.org mailing list
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 12 Mar 2008 - 09:27:53 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 12 Mar 2008 - 09:30:20 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