0

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 includes tables, plots and basically any output in the sequence in which they are found in the R source file.

Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265
R-obert
  • 999
  • 3
  • 10
  • 17

1 Answers1

0

Use the RMarkdown project. For example:

RMarkdown CheatSheet

To create an OpenDocument Text (ODT) document from R Markdown you specify the odt_document output format in the front-matter of your document:

---
title: "Habits"
author: John Doe
date: March 22, 2005
output: odt_document
---

References

Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265