from github

Jean Manguy 28238b76aa rsos_article - use class functions instead of manual formating (#191) 6 年之前
.github 76984e5016 tweak issue templates 6 年之前
R b5da7929d6 Add Copernicus Publications template (#172) 6 年之前
inst 28238b76aa rsos_article - use class functions instead of manual formating (#191) 6 年之前
man b5da7929d6 Add Copernicus Publications template (#172) 6 年之前
tests b5da7929d6 Add Copernicus Publications template (#172) 6 年之前
.Rbuildignore 1e24361914 ignore .github 6 年之前
.gitignore b5da7929d6 Add Copernicus Publications template (#172) 6 年之前
.travis.yml cbcc5024f8 now let's see if it works without -shell-escape 6 年之前
DESCRIPTION b5da7929d6 Add Copernicus Publications template (#172) 6 年之前
NAMESPACE b5da7929d6 Add Copernicus Publications template (#172) 6 年之前
NEWS b5da7929d6 Add Copernicus Publications template (#172) 6 年之前
README.md b5da7929d6 Add Copernicus Publications template (#172) 6 年之前
rticles.Rproj 051c6b2258 switch to testit for testing 6 年之前

README.md

Travis-CI Build Status

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:

    New R Markdown

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")