Guest October 10, 2025 at 3:14 AM 1 I am trying to install systemfonts package via the command: install.packages("systemfonts"), but I am getting the following error: Code ERROR: configuration failed for package ‘systemfonts’ * removing ‘/home/user/R/x86_64-pc-linux-gnu-library/4.1/systemfonts’ Any help is appreciated!
ScientificTools.org Admin October 10, 2025 at 3:32 AM 2 To resolve this issue, you need to install the required system development libraries using apt-get, and then install the R packages.If you are on Ubuntu follow the below steps:Open your Linux Terminal and run the following command to install libfontconfig1-dev , libharfbuzz-dev and libfribidi-dev Bash sudo apt install libfontconfig1-dev libharfbuzz-dev libfribidi-dev If you are on Fedora, run the following command: Bash sudo dnf install libfontconfig1-dev libharfbuzz-dev libfribidi-dev