Entering edit mode
2.0 years ago
sandy
•
0
Hello everyone,
I am trying to install harmony, but I failed. I already installed Seurat, however, I use library (harmony), this is what R said:
>library(harmony)
Error in library(harmony) : there is no package called ‘harmony’
I wonder how to solve this problem. Thank you.
My r version is 4.2.1.
The system said this: Warning message: package ‘harmony’ is not available for this version of R
A version of this package for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
But in fact, I already tried 2 different version of R to stall. 4.0 and 4.2.
I used install.packages("harmony").
I also tried: if (!requireNamespace("BiocManager", quietly = TRUE)) install.packages("BiocManager") BiocManager::install("harmony", version = "3.8").
Both of them nor working.
Don't you see how much easier it is to give advice when you provide enough information?
Since there is no package available for your R version, you may want to try installing from source. People who are more versed in R may be able to offer a different solution.
Thanks for your help. Why I failed to install dev tools in my R? or I do not need to install dev tools?
Thanks for your help. I successfully inhaled the harmony.