Skip to content
Coming soon: Ally. Your guide to the world of AI and R. Learn More →
R for the Rest of Us Logo

Getting Started With R

Packages

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

  1. Working in the console, install the tidyverse package using the code install.packages("tidyverse")

  2. Install the Positron R Package Manager extension

  3. Check in the Packages tab in the activity bar to confirm that the tidyverse package has been installed successfully

If you are a Windows user and get messages about downloading RTools, you can safely ignore these. You should not need RTools to install packages used in this course.

Learn More

If you want to read about the various packages that make up the Tidyverse, check out its website.

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

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

Bonnie Wagner

Bonnie Wagner • March 12, 2026

Hello. I receive the following error on task 1 above. Warning in install.packages("tidyverse") : 'lib = "C:/Program Files/R/R-4.5.3/library"' is not writable

Gracielle Higino

Gracielle Higino Coach • March 12, 2026

Hi Bonnie! Are you using a work computer? This is usually common when you don't have permissions to access certain sections of your machine. One alternative would be to tell R to read packages from another location, one that you know you can record data to. Try updating your .Rprofile file with the following steps:

# Open the .Rprofile in edit mode
file.edit(file.path(Sys.getenv("HOME"), ".Rprofile"))

# Add this to the file:
.libPaths("Absolute/Path/To/Your/Writable/Directory")

# Save and restart R

You can also test running R as an administrator.

Let me know if this works! If it's still buggy, we can schedule a meeting to go through it together.

Bonnie Wagner

Bonnie Wagner • March 13, 2026

Hi Gracielle. I am using my personal computer. I tried pasting what you have below in the console, saved and restarted, and I received the following error: Warning in install.packages("tidyverse") : 'lib = "C:/Program Files/R/R-4.5.3/library"' is not writable

Deidre Guy

Deidre Guy • April 28, 2026

Hello I am using a Mac and I receive the following error message when attempting to download the Positron R Package Manager extension.

David Keyes

David Keyes Founder • April 28, 2026

What message are you getting?