Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ae227db

Browse files
committed
updated for mac
1 parent f1be349 commit ae227db

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

demo.r

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ library(lubridate)
44
library(ggplot2)
55

66
# set path/relative paths
7-
setwd("C:/Users/Myfanwy/Dropbox/GitHubRepos/ggplot2Intro/data") #PC
8-
7+
#setwd("C:/Users/Myfanwy/Dropbox/GitHubRepos/ggplot2Intro/data") #PC
8+
setwd("~/Dropbox/GitHubRepos/ggplot2Intro/data") #MAC
99

1010
# Load data
1111

slides.Rmd

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@ output:
1010
```{r setup, include=FALSE}
1111
knitr::opts_chunk$set(cache=TRUE)
1212
require(ggplot2)
13-
library(DiagrammeR)
14-
setwd("C:/Users/Myfanwy/Dropbox/GitHubRepos/ggplot2Intro/data") #PC
15-
13+
#setwd("C:/Users/Myfanwy/Dropbox/GitHubRepos/ggplot2Intro/data") #PC
14+
setwd("~/Dropbox/GitHubRepos/ggplot2Intro/data") #mac
1615
```
1716

1817
```{r, echo=FALSE, cache=TRUE}

slides.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ <h3>Coordinate System</h3>
290290

291291
</article></slide><slide class=''><hgroup><h2>Of course.</h2></hgroup><article id="of-course.">
292292

293-
<p><br> This repo on <a href='https://github.com/Myfanwy/ggplot2Intro' title=''>GitHub</a> - all materials, including slides <br> Also has links to more teaching resources on all these things ##</p></article></slide>
293+
<p><br> This repo on <a href='https://github.com/Myfanwy/ggplot2Intro' title=''>GitHub</a> - all materials, including slides <br> Also has links to more teaching resources on all these things</p></article></slide>
294294

295295

296296
<slide class="backdrop"></slide>

slides.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,4 +161,3 @@ ggsave("plot.png" , plot = last_plot() , width = , height = , units = )
161161
This repo on [GitHub](https://github.com/Myfanwy/ggplot2Intro) - all materials, including slides
162162
<br>
163163
Also has links to more teaching resources on all these things
164-
##

0 commit comments

Comments
 (0)