報(bào)錯(cuò)信息如下:
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中一個(gè)能輸出高清圖片的包舀武,很好用。樓主新?lián)Q了MBP后就怎么都安不上了。這時(shí)就會(huì)拷問(wèn)自己:上一個(gè)MBP安裝出bug時(shí)怎么不記下來(lái)?
解決方法:
1 終端安裝
brew install cairo
2 重啟R,安裝Cairo