Coder Social home page Coder Social logo

rticles's Introduction

Installation

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

Sandbox Version

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

Overview

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

Using rticles from RStudio

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:

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

rticles's People

Contributors

jjallaire avatar hadley avatar yihui avatar elbamos avatar yufree avatar zkamvar avatar cboettig avatar kbroman avatar sjmgarnier avatar bquast avatar ramnathv avatar benmarwick avatar cwickham avatar erichare avatar frenchja avatar ironholds avatar rpruim avatar zeehio avatar vwmaus avatar

Watchers

James Cloos avatar Mike Birdgeneau avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.