Thursday, April 3, 2025

Error in Installing Tidyverse on R

If you encounter error in installing "tidyverse" package on R, the solution is on the terminal install first the two packages (libfribidi-dev and libharfbuzz-dev):

# apt-get install libhartbuzz-dev

# apt-get install libfribidi-dev

 

After installing these two packages, on the R cli, install the "tidyverse" package:

 

 > install.packages("tidyverse")

 

To load the "tidyverse" library on R, issue the command:

library("tidyverse")

 

This works on Ubuntu 20.04.