ReporteRs is an R package for creating Microsoft Word, Microsoft Powerpoint and HTML documents from R.
Usefull links:
-
Help pages: Documentation
-
if you have questions, use the mailing list: Mailing list
-
Report a bug: Bug report. If you report a bug, try to send a reproducible example and don't forget to send the result of
sessionInfo()
- Create docx, pptx or html files with only a few lines of R code.
- Add tables, plots, text or tables of contents into Word, PowerPoint and html documents.
- Customize formatting of R outputs.
- Design and format any complex table.
Java (it has been tested with java version >= 1.6).
ReporteRs needs some R packages ; run the following script to install them if needed.
if( !require( rJava ) ) install.packages("rJava")
if( !require( ggplot2 ) ) install.packages("ggplot2")
install.packages("ReporteRs")
Get the latest release:
if( !require( devtools ) ) install.packages("devtools")
devtools::install_github('davidgohel/ReporteRsjars')
devtools::install_github('davidgohel/ReporteRs')
Get the latest Windows binary packages:
ReporteRsjars 0.2 ♦
ReporteRs 0.8.0
install.packages("C:/path/ReporteRsjars_x.x.x.zip", repos = NULL,type="win.binary")
install.packages("C:/path/ReporteRs_x.x.x.zip", repos = NULL,type="win.binary")
library(ReporteRs)
example(docx) #run a complete and detailed docx example
example(pptx) #run a complete and detailed pptx example
example(bsdoc) #run a complete and detailed html example
?ReporteRs
?addFlexTable
?addPlot
?addMarkdown
?addParagraph
?docx
?pptx
?bsdoc
The ReporteRs package is licensed under the GPLv3. See COPYRIGHTS
file in the inst
directory for additional details.