Article Formats for R Markdown

A suite of custom R Markdown formats and templates for authoring journal articles and conference submissions.


You can install and use rticles from CRAN as follows:

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

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

devtools::install_github("rstudio/rticles")

Prior to submitting rticles to CRAN a number of formats that were not passing tests on all platforms were removed from the package (we expect that these formats will be restored eventually once their authors arrange for the tests to pass). If you are an existing user of one of these rticles formats you can install the "sandbox" version of the package which retains these formats as follows:

devtools::install_github("rstudio/rticles", ref = "sandbox")

The rticles package provides a suite of custom R Markdown LaTeX formats and templates for varoius formats, including:

Under the hood, LaTeX templates are 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 rticles 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 rticles without RStudio are also provided).

To use rticles from RStudio:

  1. Install the latest RStudio.

  2. Install the rticles package:

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

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

  1. Install pandoc using the instructions for your platform.

  2. Install the rmarkdown and rticles packages:

install.packages("rmarkdown")
devtools::install_github("rstudio/rticles")
  1. Use the rmarkdown::draft function to create articles:
rmarkdown::draft("MyJSSArticle.Rmd", template = "jss_article", package = "rticles")
rmarkdown::draft("MyRJournalArticle", template = "rjournal_article", package = "rticles")

News

  • Add American Chemical Society (ACS) template

  • Allow changing of documentclass and classoption for JSS articles

  • Support bibliography for JSS articles (#63)

  • Add tightlist macro to Elsevier skeleton

  • Add address and footnote examples to Elsevier skeleton

  • Fix preamble variable name in R Journal template

  • Initial release to CRAN

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("rticles")

0.4.1 by JJ Allaire, 7 months ago


Browse source code at https://github.com/cran/rticles


Authors: JJ Allaire [aut, cre], R Foundation [aut, cph], Hadley Wickham [aut], Journal of Statistical Software [aut, cph], Yihui Xie [aut], RStudio [cph], Ramnath Vaidyanathan [aut, cph], Association for Computing Machinery [aut, cph], Carl Boettiger [aut, cph], Elsevier [aut, cph], Karl Broman [aut, cph], Kirill Mueller [aut, cph], Bastiaan Quast [aut, cph], Randall Pruim [aut, cph], Ben Marwick [aut, cph], Charlotte Wickham [aut, cph], Oliver Keyes [aut, cph], Miao Yu [aut, cph]


Documentation:   PDF Manual  


GPL-3 license


Imports utils, rmarkdown, knitr, yaml

Suggests testthat

System requirements: GNU make


Suggested by dtwSat, forecast, wrswoR.


See at CRAN