Can't install flextable

安稳与你 提交于 2019-12-02 02:45:10

I managed to solve this by reinstalling quartz: https://www.xquartz.org

David Gohel

For mac users. This is sometimes happening with mac os X updates. This requires Homebrew(it can be installed with the following command:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  1. Close all R sessions (not mandatory but from experience, it's the best solution).

In a terminal, run the following commands:

brew update
brew upgrade
brew reinstall cairo
  1. Open an R session and run the following code:

    install.packages("gdtools", type = "source")

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!