Get access to all lessons in this course.
-
Welcome to R in 3 Months Fall 2023
- Welcome to R in 3 Months (Fall 2023)
- Complete Pre-Survey
- Sign up for Discord
- All R in 3 Months Fall 2023 Videos
-
Week 1: Getting Started with R
- Welcome to Getting Started with R
- Install R
- Install RStudio
- Projects
- Files in R
- Packages
- Import Data
- Objects and Functions
- Examine our Data
- Import Our Data Again
- Getting Help
- Week 1 Live Session
-
Week 2: Data Wrangling and Analysis
- Welcome to Fundamentals of R
- Update Everything
- Start a New Project
- The Tidyverse
- Pipes
- select()
- mutate()
- filter()
- summarize()
- group_by() and summarize()
- arrange()
- Create a New Data Frame
- Bring it All Together (Data Wrangling)
- Week 2 Project Assignment
- Week 2 Live Session
-
Week 3: Data Visualization
- The Grammar of Graphics
- Scatterplots
- Histograms
- Bar Charts
- Setting color and fill Aesthetic Properties
- Setting color and fill Scales
- Setting x and y Scales
- Adding Text to Plots
- Plot Labels
- Themes
- Facets
- Save Plots
- Bring it All Together (Data Visualization)
- Week 3 Project Assignment
- Week 3 Live Session
-
Week 4: Quarto
- Quarto Overview
- YAML
- Text
- Code Chunks
- Tips for Working with Quarto
- Bring It All Together (Quarto)
- An Important Workflow Tip
- Week 4 Project Assignment
- Week 4 Live session
-
Week 5: Catch-Up Week
-
Week 6: Git + GitHub
- What is Git? What is GitHub?
- Install and Configure GitHub Desktop
- Create a Local Git Repository
- Commits
- Commit History
- Push an RStudio Project to GitHub
- Keep RStudio and GitHub in Sync
- Week 6 Project Assignment
- Week 6 Live Session
-
Week 7: Advanced Data Wrangling (Part 1)
- Downloading and Importing Data
- Overview of Tidy Data
- Tidy Data Rule #1: Every Column is a Variable
- Tidy Data Rule #3: Every Cell is a Single Value
- Tidy Data Rule #2: Every Row is an Observation
- Changing Variable Types
- Dealing with Missing Data
- Advanced Summarizing
- Binding Data Frames
- Week 7 Live Session
-
Week 8: Advanced Data Wrangling (Part 2)
- Functions
- Data Merging
- Exporting Data
- Bring It All Together (Advanced Data Wrangling)
- Week 8 Project Assignment
- Week 8 Live Session
-
Week 9: Advanced Data Visualization (Part 1)
- Best Practices in Data Visualization
- Tidy Data
- Pipe Data into ggplot
- Reorder Plots to Highlight Findings
- Line Charts
- Use Color to Highlight Findings
- Declutter
- Add Descriptive Labels to Your Plots
- Use Titles to Highlight Findings
- Use Annotations to Explain
- Week 9 Live Session
-
Week 10: Advanced Data Visualization (Part 2)
- Tweak Spacing
- Create a Custom Theme
- Customize Your Fonts
- Try New Plot Types
- Bring it All Together (Advanced Data Visualization)
- Week 10 Project Assignment
- Week 10 Live Session
-
Week 11: Catch-Up Week
-
Week 12: Advanced Quarto
- Advanced Markdown
- Tables
- Advanced YAML and Code Chunk Options
- Inline R Code
- Making Your Reports Shine: Word Edition
- Making Your Reports Shine: PDF Edition
- Making Your Reports Shine: HTML Edition
- Presentations
- Dashboards
- Websites
- Publishing Your Work
- Quarto Extensions
- Week 12 Live Session
-
Week 13: Final Project
- R in 3 Months Progress Survey
- R in 3 Months Feedback Survey
- R in 3 Months Final Project
- Week 13 Live Session
-
Additional Lessons
- Deciphering the geomtextpath package
- Navigating the file pane in RStudio
- Difference between == and %in%
- Add citations to Quarto documents
- Using Function Arguments
- David's Function Examples
- Gracielle's function example
- Factors in R
-
Using Git and GitHub with RStudio (not GitHub Desktop)
- What is Git? What is GitHub?
- Why Should You Learn to Use Git and GitHub?
- Update Everything
- Install Git
- Configure Git
- Create a Local Git Repository
- Commits
- Commit History
- GitHub Repositories
- Connect RStudio and GitHub
- Push an RStudio Project to a GitHub Repository
- Pull a GitHub Repository to an RStudio Project
- Keep RStudio and GitHub in Sync
- Why Use GitHub vs Dropbox, Google Drive, Box, etc?
- Dealing with Common Problems: Can't Pull Code from GitHub
- Dealing with Common Problems: Merge Conflicts
- Dealing with Common Problems: Can't Push Code to GitHub
- Let's Keep Bad Things from Happening in the First Place
- What are Branches and Why Should We Use Them?
- Branch Names
- How to Create Branches
- Using Pull Requests to Merge a Branch Into Main
- GitHub Issues
- How to Organize Issues
- Other Cool Stuff You Can Do with GitHub
R in 3 Months (Fall 2023)
Push an RStudio Project to a GitHub Repository
This lesson is locked
This lesson is called Push an RStudio Project to a GitHub Repository, part of the R in 3 Months (Fall 2023) course. This lesson is called Push an RStudio Project to a GitHub Repository, part of the R in 3 Months (Fall 2023) course.
If the video is not playing correctly, you can watch it in a new window
Transcript
Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.
Your Turn
Open the
local-first
project you created previouslyPush your
local-first
project to GitHub using theuse_github()
function from theusethis
package
You need to be signed-in to comment on this post. Login.
Elan Sykes
November 12, 2021
I set my github PAT up without a problem a while ago but returning to this (and catching up on some long-delayed lessons here) I can't connect to github. I get the error message "Error: GitHub PAT must have one of these forms:
When I check on github the PAT is still the one I set up, so I'm not sure how to fix this.
Yuan Liu
March 1, 2023
Hi Dave, I am trying to push a local R project to Github. My goal is to push this R project currently located on my PC only to Github, and then pull it to my MacBook. I believe I have set up PAT correctly in R Studio on both the PC and the MacBook.
I used: usethis::use_github()
I got the error (without showing other actions that were actually successful): Error in libgit2::git_remote_push : failed to receive response: A security error occurred
Googling the error message hasn't gotten me anywhere. Could you share insights on what the "security error" might have been?
Zain Asaf
June 12, 2023
Hi David and Charlie, I am working on something from week 10. I wanted to post the gist for the code as I am getting an error message. I wanted to post the code to an existing project that I have called "zain_rin3-project' However, when I attempt to push the project to github, I get the following error message "Error: Repo 'zainasaf/zain_rin3-project' already exists on 'github.com'. I assume it is possible to push the code to an existing project, and we do not have to create a new project in github each time we post new code. Is there a step that I am missing ?