Skip to content
R for the Rest of Us Logo

This lesson is locked

Get access to all lessons in this 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

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

  2. Check in the Packages tab on the bottom right panel to confirm that the tidyverse package has been installed successfully.

If you get any messages from R about conflicts when loading packages, don't worry about them for now.

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

Learn More

There are thousands and thousands of R packages. What this means is that, if you ever wonder, can I do that in R, the answer is probably yes!

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

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

Jessica Purser

Jessica Purser

September 15, 2023

It's saying I need Rtools, shoots out a bunch of red warnings, but then goes and installs it. Do I need Rtools?

David Keyes

David Keyes Founder

September 15, 2023

You should not need it to install any of the packages used in this course.

Laura Bracun

Laura Bracun

October 29, 2023

R Studio doesn't allow me to download the tidyverse package and I don't understand why. This is the error I get: Warning in install.packages : installation of package ‘tidyverse’ had non-zero exit status

The downloaded source packages are in ‘/private/var/folders/m_/62m1vj2s6kv38gftkylyntq00000gn/T/RtmploZN0U/downloaded_packages’

David Keyes

David Keyes Founder

October 29, 2023

Can you please try again today and let me know if you have better luck? There were some issues yesterday with installing packages that should be resolved now.

Benoit Gauthier

Benoit Gauthier

January 15, 2024

Still installing on my Chromebook. Here are the additional installations required prior to tidyverse:

sudo apt-get install libfontconfig1-dev sudo apt-get install libharfbuzz-dev libfribidi-dev sudo apt-get install libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev sudo apt-get install libxml2-dev

SALIM SHEUNDA

SALIM SHEUNDA

February 26, 2024

The Rstudio doesn't allow me to download tidyverse package: It indicates this error:

installed.packages("tidyverse") Package LibPath Version Priority Depends Imports LinkingTo Suggests Enhances License License_is_FOSS License_restricts_use OS_type Archs MD5sum NeedsCompilation Built

David Keyes

David Keyes Founder

February 26, 2024

Try install.packages("tidyverse") instead of installed.packages("tidyverse"). :)