Pipe and functions not recognized in tidyverse

I install and run tidy verse in RStudio:
install.packages("tidyverse")
library(tidyverse)

When I attempt to use a pipe, the system responds with:
Error in SubSetData1 %>% dplyr::arrange(desc(infant_mortality)) :
could not find function "%>%"

I can execute:
dplyr::arrange(SubSetData1, country)

But the system does not recognize arrange:
Error in arrange(SubSetData1, country) :
could not find function "arrange"

I have restarted RStudio, reinstalled tidy verse to no avail.

Any suggestions?

As per usual, I rectified this problem five minutes after posting.

When I installed tidyverse via the packages tab in the lower right quadrant, all went well.
But I don’t understand why.

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.