2020-08-27-rmarkdown

View the Project on GitHub OtagoCarpentries/2020-08-27-rmarkdown

Introduction to RMarkdown

This workshop will introduce markdown which is a syntax for encoding formatting from which documents can be made in multiple output formats from a single source document.

R Markdown is a tool for writing reproducible reports, document and presentations by combining markdown and R code.

By attending this workshop, learners can expect to come away understanding:

Expected prior knowledge: Understanding of basic R syntax would be useful for the RMarkdown portion.

Required software: Please ensure you have a recent version of R (4.0+) and RStudio (1.3+) installed. Refer to setup instructions below if needed

Registration

A laptop is required to participate in this workshop.

Please register at Eventbrite

Setup

R

Latest Release, “Taking Off Again”, R-4.0.2

go to Download R at the Auckland CRAN mirror site. Click on the Download R for “YOUR SYSTEM” link at the top of the page. Click on the file containing the latest version of R under “Files.”

For Mac it is the .pkg file

For Windows go to base then the Download at the top

Linux have various options and the best is to directly install from the command line. Such as

   sudo apt-get update
   sudo apt-get install r-base

RStudio

Before installing RStudio you need to have installed R

Go to https://www.rstudio.com and click on the “Download RStudio” button, Latest version 1.3. Click on “Download RStudio Desktop.” Click on the version installers recommended for your system, Windows, Mac and Linux are all supported. after install, R-Studio should recognise your default R installation, if not you may have to direct R-Studio where to go.

YouTube has a number of videos to help show the steps. This one is for Windows 10