Learn R Programming

⚠️There's a newer version (0.27) of this package.Take me there.

Installation

You can install and use rticles from CRAN as follows:

install.packages("rticles")

If you wish to install the development version from GitHub (which often contains new article formats), you can do this:

devtools::install_github("rstudio/rticles")

Overview

The rticles package provides a suite of custom R Markdown LaTeX formats and templates for various 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 requires the prerequisites described below. You can get most of these automatically by installing the latest release of RStudio (instructions for using rticles without RStudio are also provided).

Using rticles from RStudio

To use rticles from RStudio:

  1. Install the latest RStudio.

  2. Install the rticles package:

    install.packages("rticles")
  3. Use the New R Markdown dialog to create an article from one of the templates:

Using rticles outside of RStudio

  1. Install pandoc using the instructions for your platform.

  2. Install the rmarkdown and rticles packages:

    install.packages("rmarkdown")
    devtools::install_github("rstudio/rticles")
  3. 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")

Copy Link

Version

Install

install.packages('rticles')

Monthly Downloads

6,778

Version

0.6

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Yihui Xie

Last Published

October 9th, 2018

Functions in rticles (0.6)

copernicus_article

Copernicus journals format.
sage_article

Sage Journals format.
pnas_article

PNAS journal format.
rjournal_article

R Journal format.
springer_article

Springer Journal format.
plos_article

PLOS journal format.
peerj_article

PeerJ journal format.
jss_article

Journal of Statistical Software (JSS) format.
ieee_article

IEEE Transactions journal format.
mdpi_article

MDPI journal format.
mnras_article

Monthly Notices of the Royal Astronomical Society (MNRAS) Journal format.
rsos_article

Royal Society Open Science journal format.
sim_article

Statistics in Medicine format.
rss_article

Royal Statistical Society Journal Format
acs_article

American Chemical Society (ACS) Journal format.
elsevier_article

Elsevier journal format.
acm_article

Association for Computing Machinery (ACM) format.
ams_article

American Meteorological Society (AMS) Journal format.
biometrics_article

Biometrics Journal format.
amq_article

Format pour Bulletin de l'AMQ.
aea_article

American Economic Association journal submissions.
ctex

A PDF format for documents based on the LaTeX package ctex
asa_article

American Statistical Association (ASA) Journal format.