Questions tagged [odfweave]

ODFweave is a system for combining R code with Open Document Format in a single document.

ODFweave is a system for combining R code with Open Document Format in a single document. It is an implementation of Donald Knuth's Literate Programming concept. The ODFweave file contains normal ODF markup with R code chunks in it.

Processing the hybrid document with the odfWeave package will generate a valid ODF file with the results of the computations interlaced within the document.

5 questions
2
votes
1 answer

Match ODFWeave and ggplot2 image resolution/size

I'm creating charts using ggplot2 inside ODFWeave code chunks. I am setting the ODFWeave dimensions to 5x5in, but the graphs are being created at 480x480 px which looks like a default. How can I make these larger and match them to the ODF size to…
paulusm
  • 786
  • 6
  • 19
2
votes
1 answer

odfWeave error source document containing non-ASCII chars

Getting this error calling ODFWeave on my doc. Pre-processing the contents Sweaving content.Rnw Error: ‘content.Rnw’ is not ASCII and does not declare an encoding I've seen some ways you can add an encoding switch in LaTeX docs "(Sweave…
paulusm
  • 786
  • 6
  • 19
1
vote
1 answer

How to set properly a zip programme with odfWeave?

I work with R 3.1.1 64 bits /Windows 8.1./7-zip 64 bits I have tried since many days to make odfWeave working, but without success. I have tried different odfWeaveControl options (see below) but still get that error message from R. Any clue would be…
CharlesLDN
  • 169
  • 1
  • 9
1
vote
1 answer

Sweave/ODFWeave and tracking code chunks

I am getting started with the reproducible research tools in R, and I'm pretty excited about the prospects. Sweave/Knitr/Markdown, all that stuff is great. I use RStudio, and they have done a great job of integrating those tool, and I hear that…
Eric E
  • 191
  • 1
  • 3
0
votes
1 answer

Is it possible to export data directly from R to ODF?

I know there is odfWeave. But as far as I know, odfWeave expects you to have your code in the OpenOffice file and R will then process that file. Is there a way to export directly from R to an ODF file? The idea is to generate an ODF file from R that…
R-obert
  • 999
  • 3
  • 10
  • 17