lesson 0: introduction and set-up · git config --list git config --global user.name “your...

25
Lesson 0: Introduction and Set-up

Upload: others

Post on 25-May-2020

47 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

Lesson 0: Introduction and Set-up

Page 2: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

Why am I taking this course?

Page 3: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

you on your computer

the internet

Page 4: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

What will we be doing today?A LOT of initial set-up

Install packages (dplyr and ggplot2)

What will we be doing (most) other days?Learn a new statistical test

Practice plotting as is appropriate for the test

Make an R Markdown document to summarize the lesson

Page 5: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

Initial Set-up

Page 6: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

Configuring Git

git --version

Windows: Go the executable “git-bash” in your git folder

Page 7: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

Windows: Go the executable “git-bash” in your git folder

git --version

Configuring Git

Page 8: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

git config --list

git config --global user.name “YOUR NAME”git config --global user.email “YOUR EMAIL”git config --list

Windows: Go the executable “git-bash” in your git folder

Configuring Git

Page 9: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

Windows: Go the executable “git-bash” in your git folder

git config --list

git config --global user.name “YOUR NAME”git config --global user.email “YOUR EMAIL”git config --list

Configuring Git

Page 10: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

Linking Git to RStudio

Mac: RStudio —> Preferences —> Git/SVN Windows: Tools —> Global Options… —> Git/SVN

Page 11: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

Getting an SSH RSA Key in RStudio

Mac: RStudio —> Preferences —> Git/SVN Windows: Tools —> Global Options… —> Git/SVN

Page 12: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

Getting an SSH RSA Key in RStudio

https://help.github.com/articles/generating-a-new-ssh-key/

Windows: Go the executable “git-bash” in your git folder

Page 13: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

Getting an SSH RSA Key in RStudio

Mac: RStudio —> Preferences —> Git/SVN Windows: Tools —> Global Options… —> Git/SVN

Page 14: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

Getting an SSH RSA Key in RStudio

Mac: RStudio —> Preferences —> Git/SVN Windows: Tools —> Global Options… —> Git/SVN

dfsafadfafsfdsfasdfsdfasddsfasdfasfksdjfeioajkdjfdjfoeijagksldjfaoiejfodfsafadfafsfdsfasdfsdfasddsfasdfasfksdjfeioajkdjfdjfoeijagksldjfaoiejfodfsafadfafsfdsfasdfsdfasddsfasdfasfksdjfeioajkdjfdjfoeijagksldjfaoiejfodfsafadfafsfdsfasdfsdfasddsfasdfasfksdjfeioajkdjfdjfoeijagksldjfaoiejfodfsafadfafsfdsfasdfsdfasddsfasdfasfksdjfeioajkdjfdjfoeijagksldjfaoidfsasdfadsfasdfsafsdfasdfasdfaeadfeaf

Page 15: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

Bitbucket vs.

GitHub

Page 16: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

Getting Your SSH RSA Key on Bitbucket

Page 17: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

Getting Your SSH RSA Key on Bitbucket

Page 18: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

Getting Your SSH RSA Key on Bitbucket

Page 19: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

Getting Your SSH RSA Key on Bitbucket

Page 20: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

Installing Packages in RStudio

install.packages(“dplyr”)

Page 21: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

Installing Packages in RStudio

Page 22: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

library(“dplyr”)

Installing Packages in RStudio

Page 23: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

install.packages(“ggplot2”)library(“ggplot2”)

Installing Packages in RStudio

Page 24: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

Conclusion and Next Steps

Page 25: Lesson 0: Introduction and Set-up · git config --list git config --global user.name “YOUR NAME” git config --global user.email “YOUR EMAIL” git config --list Windows: Go

What did we do today?A LOT of initial set-up

Installed packages (dplyr and ggplot2)

What will we be doing next time?Practice reading in and manipulating data

Practice making figures

Make an R Markdown document to summarize the lesson

Committing to Git