Problem with cairo capabilities

I am trying to understand why capabilities() are not the same between R running in the console and RStudio despite that both use the same R binaries. Because I do not have cairo capability in RStudio, I can not change the fonts in graphics nor save them in PDF.

In RStudio:

enter image description here

I only have 1 R installation:

> Sys.getenv("R_HOME")
[1] "/usr/local/lib/R"

Any ideas why cairo is not supported in RStudio where it is if I run R in bash.

Regards,
Philippe

I fixed the problem by manually building R.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.