You can install and use trbRticle from CRAN as follows:

install.packages("trbRticle", type = "source")

If you wish to install the development version from GitHub you can do this:



The trbRticle package provides custom R Markdown LaTeX formats and templates for the TRB journal submissions

Under the hood, the LaTeX template is used to ensure that documents conform precisely to submission standards. At the same time, composition and formatting can be done using lightweight markdown syntax, and R code and its output can be seamlessly included using knitr.

Using trbRticle has some prerequisites which are described below. You can get most of these pre-requisites automatically by installing the latest release of RStudio (instructions for using trbRticle without RStudio are also provided).

Using trbRticle from RStudio

To use trbRticle from RStudio:

1) Install the latest RStudio.

2) Install the trbRticle package:

install.packages("trbRticle", type = "source")

3) Use the New R Markdown dialog to create an article from one of the templates:

New R Markdown

Using trbRticle outside of RStudio

1) Install pandoc using the instructions for your platform.

2) Install the rmarkdown and trbRticle packages:


3) Use the rmarkdown::draft function to create atrbRticle:

rmarkdown::draft("MyJSSArticle.Rmd", template = "trb_article", package = "trbRticle")

Emaasit/trbRticle documentation built on May 6, 2019, 3:47 p.m.