R Cairo installation without apt-get, sudo R Cairo installation without apt-get, sudo r r

R Cairo installation without apt-get, sudo


you need the cario dev files

apt-get install libcairo2-dev

I also needed to install the following

apt-get install libxt-dev


Looks like you need cario-devel. See below for instructions for installation. At least doing so resolved my missing "cairo.h" issue. Hope this helps.

http://cairographics.org/download/


Follow these steps

sudo apt-get install libcairo2-dev

Once installed, you can execute following commands in R-Studio

install.packages('Cairo')library(Cairo)