Learn R Programming

R3port package

The aim of this package is to easily create pdf and html documents including tables, listings and plots. Although there are multiple options to do this within R like knitr and rmarkdown, this package takes a different approach. Output can be created using various function and is intended to create reports with only tables, listings and plots. It aims to be flexible in a way that it can be used with other reporting packages but also as standalone. Furthermore, the template system makes it possible to fully customize the style of the reports.

Documentation

The best place to start with the package, is by reading the vignette

Installation

Installation of the development version can be done using the devtools package:

devtools::install_github("RichardHooijmaijers/R3port")

Copy Link

Version

Install

install.packages('R3port')

Monthly Downloads

255

Version

0.2.5

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Richard Hooijmaijers

Last Published

September 22nd, 2023

Functions in R3port (0.2.5)

ltx_list

Creates a latex listing
means

Calculate summary statistics on a data frame
ltx_table_design

Designs a table based on a object returned by the table_prep function
ltx_plot

Prints a R plot to a latex file or console
ltx_table

Creates a latex table
table_prep

Prepares the data for pivotal tabulation
html_list

Creates a HTML listing
html_table_design

Designs a table based on a object returned by the table_prep function
html_combine

Combines multiple HTML files to a single tex and compiles document
html_doc

Prints a HTML table, listing or plot to a a file or console
freq

Calculate frequency statistics on data frame
html_plot

Prints a R plot to a HTML file or console
html_table

Creates a HTML table
R3port

Report functions for HTML and PDF files
ltx_combine

Combines multiple latex files to a single tex and compiles document
ltx_doc

Prints latex code for a table, listing, plot, or text to a a file or console