Code Monkey home page Code Monkey logo

appdocs's Introduction

R Markdown Templates: Minimal Examples

This repository provides a couple of minimal examples of R Markdown templates. If you are reading this, you have likely found about example in Chapter 17 in the R Markdown definitive guide book.

The repository contains several basic examples:

  • My Template: shows a minimal R Markdown template, defining several styles for HTML outputs.
  • My Template (Extra Files): includes a custom logo and a style.css file to change the style of tables.
  • My Template (HTML edits): uses a custom HTML template to add a customisable footer to the document.
  • My Template (LaTeX edits): uses a custom LaTeX template which adds extra fields to the header.
  • My Template (Custom Format): this uses a custom R Markdown format to use extra files without a copy having to be made to the directory (see Chapter 18)

These templates are purposely very basic, being designed to demonstrate how custom styles can easily be created. You may wish to fork the repository to customise the designs further.

Installing the Templates

If you want to trial these templates within R Markdown, you can install the templates directly:

# install.packages("devtools")
devtools::install_github("mikey-harper/example-rmd-templates")

This will install the package MyTemplates. Once installed, they will be available within the R Markdown templates as shown below:

R Markdown templates

Adapting the Templates

If you want to use the package as a base for your own template, you may want to fork the repository. It will help to read Chapter 17 and Chapter 18 to find out more about this.

appdocs's People

Contributors

imedkrisna avatar

Watchers

James Cloos avatar  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.