본문 바로가기

Linux, Ubuntu, R/Installation error

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

When you get error message below,

fatal error: hb-ft.h: No such file or directory
compilation terminated.

 

Try below command in your shell.

sudo apt-get install libharfbuzz-dev libfribidi-dev libfontconfig1-dev

 

And install the textshaping package in R

install.packages('textshaping')
반응형