Skip to content
R for the Rest of Us Logo

This lesson is locked

Get access to all lessons in this course.

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

I. Download the course project

install.packages("usethis")
library(usethis)
use_course("https://rfor.us/getting-started-materials")

II. Open the project and look at the files within it.

Learn More

The RStudio website has a good overview of projects, as does the Teach Data Science website.

If you want to go really deep, there’s a nice video on LinkedIn Learning titled Why should you use projects in RStudio?

Have any questions? Put them below and we will help you out!

You need to be signed-in to comment on this post. Login.

Ben Gunderson

Ben Gunderson

September 11, 2023

Hi David,

This download course code worked on my personal mac, but I'm trying to get it working on my work Windows laptop. It keeps returning this error:

The downloaded binary packages are in
	C:\Users\bgunderson\AppData\Local\Temp\RtmpmQYDJV\downloaded_packages
> library(usethis)
Error: package or namespace load failed for ‘usethis’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 there is no package called ‘vctrs’

Help me troubleshoot?

Ben Gunderson

Ben Gunderson

September 11, 2023

Forgot to mention: I made sure to update my version already! Saw you mentioned that as a solution in the public version of this course.

Ben Gunderson

Ben Gunderson

September 11, 2023

Please disregard! I just had to install the vctrs package and it worked. :)

Glad you figured it out!

Michele Parsons

Michele Parsons

September 14, 2023

When I try to download the course project I keept getting this error message:

use_course("https://rfor.us/getting-started-materials") Error in use_course("https://rfor.us/getting-started-materials") : could not find function "use_course"

Michele Parsons

Michele Parsons

September 14, 2023

Disregard...figured it out.