I am using Mac OS X EL Capitan 10.11.6 with Microsoft R Open 3.3.1.
After following the instructions for installation of MRO and having a fresh installation of XQuartz 2.7.9, I am having the following error whenever I want to install any R package, for example, when installing MASS, I am seeing the following warning message. It seems like it does not affect the usage, but it is annoying to see this warning every time.
Warning message:
In doTryCatch(return(expr), name, parentenv, handler) :
unable to load shared object '/Library/Frameworks/R.framework/Resources/modules//R_X11.so':
dlopen(/Library/Frameworks/R.framework/Resources/modules//R_X11.so, 6): Symbol not found: _CGBitmapContextCreate
Referenced from: /Library/Frameworks/R.framework/Resources/modules//R_X11.so
Expected in: flat namespace
in /Library/Frameworks/R.framework/Resources/modules//R_X11.so
* installing *source* package ‘MASS’ ...
** package ‘MASS’ successfully unpacked and MD5 sums checked
** libs
I have the same problem when using Microsoft R Open 3.3.1 on macOS 10.12.
I refer to this link: Warning message when opening RStudio or the R console
and replace R_X11.so with R_X11.so of CRAN R.
R_X11.so of CRAN R at /Library/Frameworks/R.framework/Versions/3.3/Resources/modules/R_X11.so of MRO(at /Library/Frameworks/R.framework/Versions/3.3.1-MRO/Resources/modules/) with R_X11.so of CRAN R(look step 3)If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With