+ - 0:00:00
Notes for current slide
Notes for next slide

Open RStudio

2/37

Open RStudio

3/37

Open RStudio

4/37

About RStudio Projects

  • "to divide your work into multiple contexts, each with their own:
6/37

About RStudio Projects

  • "to divide your work into multiple contexts, each with their own:

    • working directory,
6/37

About RStudio Projects

  • "to divide your work into multiple contexts, each with their own:

    • working directory,

    • workspace,

6/37

About RStudio Projects

  • "to divide your work into multiple contexts, each with their own:

    • working directory,

    • workspace,

    • history, and

6/37

About RStudio Projects

  • "to divide your work into multiple contexts, each with their own:

    • working directory,

    • workspace,

    • history, and

    • source documents."

Source & Artwork Source

6/37

๐Ÿ”ฅ Create RStudio Project in 4 Steps ๐Ÿ”ฅ

7/37

Create RStudio Project in 4 Steps

8/37

Create RStudio Project in 4 Steps

9/37

Create RStudio Project in 4 Steps

10/37

Create RStudio Project in 4 Steps

11/37

Open RStudio Project

12/37

Open RStudio Project

13/37

Open RStudio Project

14/37

About R Markdown:

  • "You bring your data, code, and ideas, and R Markdown renders your content into a polished document that can be used to:
16/37

About R Markdown:

  • "You bring your data, code, and ideas, and R Markdown renders your content into a polished document that can be used to:

    • Do data science interactively within the RStudio IDE,
16/37

About R Markdown:

  • "You bring your data, code, and ideas, and R Markdown renders your content into a polished document that can be used to:

    • Do data science interactively within the RStudio IDE,

    • Reproduce your analyses,

16/37

About R Markdown:

  • "You bring your data, code, and ideas, and R Markdown renders your content into a polished document that can be used to:

    • Do data science interactively within the RStudio IDE,

    • Reproduce your analyses,

    • Collaborate and share code with others, and

16/37

About R Markdown:

  • "You bring your data, code, and ideas, and R Markdown renders your content into a polished document that can be used to:

    • Do data science interactively within the RStudio IDE,

    • Reproduce your analyses,

    • Collaborate and share code with others, and

    • Communicate your results with others."

16/37

File โ†’ New File โ†’ R Markdown

19/37

R Markdown

20/37

R Markdown

21/37

R Markdown

22/37

R Markdown

23/37

Save your .Rmd file

24/37

Name your .Rmd file

25/37

Name your .Rmd file

26/37

Save your .Rmd file

27/37

Saved .Rmd file โ†’ in RStudio Project

28/37

29/37
30/37

R Markdown has 3 important parts:

- YAML

- Code chunk

- Text

31/37
32/37
33/37
34/37

๐Ÿงถ Knit a R Markdown File

  • YAML options

  • Headings, subheadings, text & maths equations

  • Code Chunk

    • Include images

    • Include tables

    • Include plot

  • Themes

  • Multiple Output Formats

  • eBook

35/37

๐Ÿ™‹๐Ÿฝโ€โ™€๏ธ๐Ÿ™‹โ€โ™‚๏ธ
Q&A

36/37

Open RStudio

2/37
Paused

Help

Keyboard shortcuts

โ†‘, โ†, Pg Up, k Go to previous slide
โ†“, โ†’, Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
Number + Return Go to specific slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
oTile View: Overview of Slides
Alt + fFit Slides to Screen
Esc Back to slideshow