본문 바로가기

Linux, Ubuntu, R/Installation error

[Linux/Ubuntu/R-environment] R package systemfonts install error

When you get error message below,

fatal error: fontconfig/fontconfig.h: No such file or directory

 

Try below command in your shell.

sudo apt-get install libfontconfig1-dev

 

And install the systemfonts

install.packages('systemfonts')

 

반응형