Skip to content

Instantly share code, notes, and snippets.

View raffdoc's full-sized avatar

Rafik Margaryan raffdoc

View GitHub Profile
@raffdoc
raffdoc / 000-instructions.md
Created June 19, 2012 20:12 — forked from halpo/000-instructions.md
harvestr R users conference presentation.

Building a beamer presentation with knitr.

Introduction

The documents included are the input for knitr. In addition you need to have the tool pandoc installed. I also use a custom beamer template to add the University of Utah \institute command to the template. It also changes the indentation some.

Steps

  1. knit document with
@raffdoc
raffdoc / gitbook.R
Created April 20, 2014 14:15 — forked from jbryer/gitbook.R
require(knitr)
#' Initializes a new Gitbook.
#'
#' This will initalize a new Gitbook in the given directory. When done, it will
#' also change the working directory.
#'
#' @author Jason Bryer <[email protected]>
newGitbook <- function(dir) {
# TODO: May want to make these parameters or options