Load Packages

Are Duke Slides loaded?

If not, follow the installation instructions

Get Started

Create a new R Markdown document from the File menu

In RStudio…

  1. `New File -> R Markdown
  2. From Template -> Slide template for Duke University {dukeslides}` > OK
  3. Edit your R Markdown file
  4. Click the “Knit” button in the script editor to render the document

This will generate a plain-text .Rmd file in the script editor showing each slide separated by ---. You must keep the YAML header but you can edit the values in the header.

Using plain text and R Markdown you can customize the slide template. Importantly, this template doubles as both a demonstration and documentation. Knitting the file will generate slide output as an HTML file (with supporting files) showing the rendered output as a demonstration and documentation.

Edit to your hearts delight. You cannot mess up the template. Simply re-execute step one, above, you’ll have a new .Rmd file with the demonstration/instructions.

More Documentation

 
R We Having Fun Yet‽ -- Learning Series
Center for Data & Visualization Sciences
Duke University Libraries
John R Little

CC BY-NC