Entering edit mode
if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("clusterProfiler")
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
You do not provide any clue to find a solution, a minimum would be to add the error message you have after running this code
I have trouble install the "clusterProfiler" on Google colab. It was working until 1 weeks ago. Here is the error message:
Found the solution by manually install "igraph" and "tidygraph"
download.file("https://cran.r-project.org/src/contrib/Archive/igraph/igraph_1.6.0.tar.gz", "igraph_1.6.0.tar.gz") install.packages("igraph_1.6.0.tar.gz", repos = NULL, type = "source")
download.file("https://cran.r-project.org/src/contrib/Archive/tidygraph/tidygraph_1.3.0.tar.gz", "tidygraph_1.3.0.tar.gz") install.packages("tidygraph_1.3.0.tar.gz", repos = NULL, type = "source")