ComplexHeatmap installation Error
1
0
Entering edit mode
m.azhar ▴ 10
@mazhar-12584
Last seen 6.9 years ago

I am trying to install package ComplexHeatmap using these commands

source("https://bioconductor.org/biocLite.R")
biocLite("ComplexHeatmap")

but i get this error 

 library("ComplexHeatmap")
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : 
  there is no package called ‘modeltools’
Error: package or namespace load failed for ‘ComplexHeatmap’

so it try to install modetools but it says

Warning message:
package ‘modetools’ is not available (for R version 3.3.1) 

so whats the solution I tried to insatll form github and from local file as well but the same problem

 

 

software error • 3.8k views
ADD COMMENT
3
Entering edit mode
Mike Smith ★ 6.5k
@mike-smith
Last seen 3 hours ago
EMBL Heidelberg

The package specified in the error message is called 'modeltools', not 'modetools'. I'd suggest trying:

install.packages('modeltools')
ADD COMMENT
0
Entering edit mode

THANKS LOT

 

ADD REPLY
0
Entering edit mode

I have similar issues. I am new user for R so some one can help in loading ComplexHeatmap library.

Thank you

library(ComplexHeatmap) Loading required package: grid 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

ADD REPLY
0
Entering edit mode

That isn't a similar issue, and it's not useful to piggyback on existing unrelated threads from almost 4 years ago. Instead please make a new post and follow the posting guide.

ADD REPLY

Login before adding your answer.

Traffic: 716 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6