ArchR is running safely in R CLI, but "Cairo is not functional" error shows in rstudio, even Cairo is already installed. #1915
-
I think I safely installed ArchR, and confimed that ArchR is running safely in R command line. "WARNING : Cairo check shows Cairo is not functional. But, Cairo package was already installed, (with library(Cairo) showed no error) I think this is the difference between rstudio and R CLI. but I can't solve it. In the ArchR code, Why ArchR could not check the already installed Cairo package in rstudio? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Sounds like your different R setups are seeing different environments. Cairo is both a system library and an R package and both are required for Cairo to be functional. |
Beta Was this translation helpful? Give feedback.
-
I have the same problem as you. Have you solved it? Thank you very much for your reply |
Beta Was this translation helpful? Give feedback.
-
This may be a bug in ArchR package requirements. Updating cario R package fixed issue for us. |
Beta Was this translation helpful? Give feedback.
I do not have additional input on this. The
.checkCairo()
function is very simple. You will have to diagnose for yourself why it is failing.ArchR/R/GgplotUtils.R
Lines 956 to 966 in f6c0388
Also not that Cairo is not necessarily essential for ArchR.