Mac中安装Cairo报错

2019-10-11  本文已影响0人  PriscillaBai

报错信息如下:
configure: error: Cannot use cairo-ft backend, although cairo claims it is working. Please check your caito installation and/or update cairo if necessary or set CAIRO_CFLAGS/CAIRO_LIBS accordingly.

Cairo是R中一个能输出高清图片的包,很好用。楼主新换了MBP后就怎么都安不上了。这时就会拷问自己:上一个MBP安装出bug时怎么不记下来?

解决方法:
1 终端安装
brew install cairo
2 重启R,安装Cairo

上一篇下一篇

猜你喜欢

热点阅读