Installing tidyverse and other packages

I am trying to load tidyverse in Rstudio Cloud, and get the error message as shown below:

Error in library(tidyverse) : there is no package called ‘tidyverse’

Works perfectly well with my Windows laptop running Rstudio app.
Also trying to install openair and get the same message.

Error in library(openair) : there is no package called ‘openair’

Any ideas to help a novice Rstudio users

I am not a Cloud user. If that happened on my desktop version, it would mean that I have to install the packages first. The command for that is


There is also a menu Tools -> Install Packages that brings up a dialog where you can type in the package names with no quotes. Tidyverse is fairly large, so the installation will take a few minutes. After the installation, you can run the library() command to load the package.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.