Closed pallavisurana1 closed 3 years ago
Can you first remove the Cairo package by remove.packages("Cairo")
and try again?
Hi, i tried removing "Cairo" and re-installing it. Still gives me the following error:
Error: package or namespace load failed for 'ComplexHeatmap': .onLoad failed in loadNamespace() for 'Cairo', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Cairo/libs/Cairo.so': dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Cairo/libs/Cairo.so, 6): Library not loaded: /opt/X11/lib/libXrender.1.dylib Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/Cairo/libs/Cairo.so Reason: image not found In addition: Warning message: package 'ComplexHeatmap' was built under R version 4.0.3
Can you first restart R, then install.packages("Cairo")
?
Maybe this reason?
It works Thank you!
Regards, Pallavi Surana Website http://pallavisurana1.github.io
On Fri, 8 Jan 2021 at 16:59, Zuguang Gu notifications@github.com wrote:
Maybe this reason?
https://support.bioconductor.org/p/p133999/#p134005
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jokergoo/ComplexHeatmap/issues/653#issuecomment-757019638, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN27N2UGFSKEBWAOVIEBFO3SY554BANCNFSM4USDEUAA .
Please provide example datasets and the code you use. It will help me to understand your problem and help you!
installation
error
ERROR: lazy loading failed for package ‘ComplexHeatmap’
installation
error
Error: package or namespace load failed for 'ComplexHeatmap': .onLoad failed in loadNamespace() for 'Cairo', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Cairo/libs/Cairo.so': dlopen(/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Cairo/libs/Cairo.so, 6): Library not loaded: /opt/X11/lib/libXrender.1.dylib Referenced from: /Library/Frameworks/R.framework/Versions/4.0/Resources/library/Cairo/libs/Cairo.so Reason: image not found In addition: Warning message: package 'ComplexHeatmap' was built under R version 4.0.3