Question: Trouble installing R package Cairo
gravatar for rbronste
2.1 years ago by
rbronste240 wrote:


Trying to install Cairo package through CRAN and although the install goes smoothly I get the following message when trying to load package - have not seen this with other packages where download is normal:

Error : .onLoad failed in loadNamespace() for 'Cairo', details:
  call: dyn.load(file, DLLpath = DLLpath, ...)
  error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Cairo/libs/':
  dlopen(/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Cairo/libs/, 6): 
  Library not loaded: /opt/X11/lib/libXrender.1.dylib
  Referenced from: /Library/Frameworks/R.framework/Versions/3.3/Resources/library/Cairo/libs/
  Reason: image not found
Error: package or namespace load failed for ‘Cairo’

Any ideas? Thanks.

cairo R • 5.5k views
ADD COMMENTlink modified 2.1 years ago by Samuel Brady300 • written 2.1 years ago by rbronste240
gravatar for Samuel Brady
2.1 years ago by
Samuel Brady300
Samuel Brady300 wrote:

You may need to install Cairo on your operating system. This can get you started:

This may also be helpful:

Good luck.

ADD COMMENTlink written 2.1 years ago by Samuel Brady300
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1522 users visited in the last hour