forked from jules32/rmarkdown-website-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.Rmd
30 lines (21 loc) · 1.97 KB
/
index.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
title: "Making free websites with RStudio's R Markdown"
author: "[Julie Lowndes](https://github.com/jules32) at [NCEAS](https://www.nceas.ucsb.edu/), 12/14/16"
output:
html_document:
fig_width: 1
---
----
It's possible to create well-designed websites for free using [RStudio's R Markdown](http://rmarkdown.rstudio.com/) and hosting them on [Github](http://github.com). This is very new and incredibly cool. It is a really powerful way to communicate science using the same reproducible workflow you use for your analyses and collaborations.
***Creating websites with R Markdown can be done without knowing R or HTML, CSS, etc,*** and that's where we'll start. However, R Markdown integrates with these tools so the more you know the more complex and beautiful your website can be. This tutorial borrows heavily from a lot of great tutorials and resources you should check out too -- there are links throughout.
The best way to learn is to follow along with your own laptop, but all are welcome. We'll spend half the time with the tutorial and half the time for you to work on your own website and get help. If you bring your laptop please do this beforehand:
1. install [RStudio](https://www.rstudio.com/products/rstudio/download/)
1. create a [GitHub]((http://github.com)) account ([advice](http://happygitwithr.com/github-acct.html))
1. set up your computer to talk to GitHub
- have RStudio linked directly (preferred) ([instructions sections 8-14](http://happygitwithr.com/hello-git.html))
- or install the [Desktop App](https://desktop.github.com/)
- or be familiar with git commands for the command line ([tutorial](https://try.github.io/levels/1/challenges/1))
----
**Examples:**
We have been using R Markdown for the Ocean Health Index: [**ohi-science.org/ohi-global**](http://ohi-science.org/ohi-global).
And R Markdown is much more than just websites -- here's a [**one-minute video about R Markdown**](http://rmarkdown.rstudio.com/lesson-1.html) to get you excited.