I have had troubles with RStudio capabilities. After installing a ton of libraries (Ubuntu 16.04) I have configured and made (with ./configure, make, and make install) R using a tarball from CRAN (3.5.0). R terminal seems to work fine, and has all the capabilities I need (gives TRUE for png and cairo, betweem others). However, with RStudio (installed with dpkg) the capabilities are different.
How comes Rstudio has different capabilities than R (RStudio points to the R that works fine, the only one currently installed)?
How can I make RStudio have the capabilities I need (otherwise it gives an error saying that cannot find an X11 font and will not plot)?