Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PSYC-560 R Studio Projects Setup

PSYC-560 R Studio Projects Setup

A description of how to setup R Studio Projects for statistics courses at CLU.

More Decks by Jamie D. Bedics, PHD, ABPP

Other Decks in Education

Transcript

  1. R Projects • When you conduct a data analysis you

    have lots of documents and files including: • Data (e.g., *.csv, *.xlsx) • R Scripts (e.g., *.r, .Rmd) • Graphs (e.g., *.png, *.jpeg) • A R Project keeps it all together in one spot. • It allows you to stop and start up again at anytime without worry.
  2. 4. Save the Project 1. Name the project ‘psyc560’ 3.

    If you click here, it will open the project in a new page. I always click here. 2. Save it somewhere memorable. Here, for example, I saved it to my desktop. Easy to find! 4. Lastly, Click “Create Project”
  3. Another R Studio should appear but with the ‘Project Name’

    in the upper right You should always do your work inside a project
  4. Here it is on my desktop. It automatically made a

    nice folder for me :) Here’s what the inside of the folder looks like. You click on the cube to open up the R Project and work on your assignments, etc.
  5. 13 • Plenty of cool data projects at GitHub GitHub

    • You can recreate them in a R Studio Project! Without causing damage to the original project!
  6. 14 • 538 is a news website that covers sports,

    politics and science • They use data to run statistical analyses and create visualizations to supplement their reporting • They post data on GitHub I assume you have Git installed and “talking” to R Studio
  7. 4. Save the Project 1. Paste the address from GitHub

    2. I called it ‘538data’ 3. Save it somewhere like your desktop
  8. 25