Q:

Rstudio and R capabilities() are not the same? 

I have a question about R and Rstudio capabilities(). 
I installed R-3.3.2 and here is the output of capabilities() in R :
 >capabilities()
       jpeg         png        tiff       tcltk         X11        aqua 
       TRUE        TRUE       FALSE       FALSE        TRUE       FALSE 
   http/ftp     sockets      libxml        fifo      cledit       iconv 
       TRUE        TRUE        TRUE        TRUE        TRUE        TRUE 
        NLS     profmem       cairo         ICU long.double     libcurl 
       TRUE       FALSE        TRUE        TRUE        TRUE        TRUE

Then I installed Rstudio1.1, and when I run capabilities() on Rstudio, the capabilities() are not the same (for exemple for cairo) :
    >capabilities()
       jpeg         png        tiff       tcltk         X11        aqua 
       TRUE        TRUE       FALSE       FALSE        TRUE       FALSE 
   http/ftp     sockets      libxml        fifo      cledit       iconv 
       TRUE        TRUE        TRUE        TRUE        TRUE        TRUE 
        NLS     profmem       cairo         ICU long.double     libcurl 
       TRUE       FALSE       FALSE       FALSE        TRUE        TRUE

I verified if Rstudio runs the right version of R and yes it does. 
I found nothing related to this kind of problem on other posts. 

A:

I upgraded R to the newest version (3.4.2) and it is now working.