Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in R Programming by (50.2k points)

I want to install the flextable package in r studio and I am not able to do that.

ERROR: configuration failed for package ‘systemfonts’

* removing ‘/home/user/R/x86_64-pc-linux-gnu-library/3.2/systemfonts’

Warning in install.packages :

  installation of package ‘systemfonts’ had non-zero exit status

ERROR: dependency ‘systemfonts’ is not available for package ‘gdtools’

* removing ‘/home/user/R/x86_64-pc-linux-gnu-library/3.2/gdtools’

Warning in install.packages :

  installation of package ‘gdtools’ had non-zero exit status

ERROR: dependency ‘gdtools’ is not available for package ‘flextable’

* removing ‘/home/user/R/x86_64-pc-linux-gnu-library/3.2/flextable’

Warning in install.packages :

  installation of package ‘flextable’ had non-zero exit status

The downloaded source packages are in

    ‘/tmp/RtmpN2KD39/downloaded_packages’

1 Answer

0 votes
by (107k points)

In the R programming, the error is coming because the dependencies are not been installed. You can simply try installing the dependencies the error messages call out explicitly:

install.packages("systemfonts")

install.packages("gdtools")

install.packages("flextable")

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...