The rticles package includes a set of R Markdown templates that enable authoring of R related journal and conference submissions. Available templates include:
-
JSS articles
-
R Journal articles
-
useR conference abstracts
-
Public Library of Science (PLoS) articles
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 it's 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 preview release of RStudio (instructions for using rticles without RStudio are also provided).
To use rticles from RStudio:
-
Install the latest RStudio Preview Release.
-
Install the rticles package:
devtools::install_github("rstudio/rticles")
- Use the New R Markdown dialog to create an article from one of the templates:
-
Install pandoc using the instructions for your platform.
-
Install the rmarkdown and rticles packages:
devtools::install_github(c("rstudio/rmarkdown", "rstudio/rticles"))
- Use the
rmarkdown::draft
function to create articles:
rmarkdown::draft("MyAbstract.Rmd", template = "use_r_abstract", package = "rticles")
rmarkdown::draft("MyJSSArticle.Rmd", template = "jss_article", package = "rticles")
rmarkdown::draft("MyRJournalArticle", template = "rjournal_article", package = "rticles")