Skip to content
No description, website, or topics provided.
R TeX
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
extended.Rmd
preambleish.sty
render.R
simple.Rmd

README.md

rmarkdown: Alter Action Depending on Document

This repo is designed to accompany this blog post that explains how to accomplish this wish:

"I wish I could do X for document type A and Y for document type B"

This repo contains:

  • 2 Rmd documents
    • simple.Rmd: A simple MWE
    • extended.Rmd: An extended Example
  • preambleish.sty to accompany extended.Rmd
  • render.R to render .html, .pdf, and .docs documents from the .Rmd files

You can fork this repo, install locally, and then run:

rmarkdown::render("simple.Rmd", "all")

rmarkdown::render("extended.Rmd", "all")

...to render the documents.

You can’t perform that action at this time.