# Create a word document to contain R outputsĭoc <- addTitle(doc, "Simple Word document", level=1) e.g : 1 for title1, 2 for title2, 3 for title3, etc.ĪddTitle() and addParagraph() functions can be used as follow : library(ReporteRs) level : an integer specifying the heading level.value : the text to add as a title or a paragraph.docx file format) using ReporteRs package.
HOW TO CREATE ADDITIONAL DOCUMENT PROPERTIES WORD HOW TO
The aim of this R tutorial is to show you how to easily and quickly export outputs (including data table, plots, paragraphs of text and R scripts) from R statistical software to a Microsoft Word document (. ReporteRs is Java-based solution, so it works on Windows, Linux and Mac OS systems. It can be also used to generate Word document from a template file with logos, fonts, etc.
Add lists : ordered and unordered lists.Change the appearance of a “Piece Of Text” (pot).Change the global font size and font family.Format the text of a Word document using R software.Add texts : title and paragraphs of texts.Install and load the ReporteRs R package.