error loading fgsea package for "panda_gtex_tutorial_server.ipynb" netbook
Closed this issue · 3 comments
I tried running the original chunk #2 in the netbook, and then I ran the code to install fgsea alone to get the error message output below.
BiocManager::install("fgsea")
'getOption("repos")' replaces Bioconductor standard repositories, see
'help("repositories", package = "BiocManager")' for details.
Replacement repositories:
CRAN: https://cran.r-project.org/
Bioconductor version 3.18 (BiocManager 1.30.22), R 4.3.1 (2023-06-16)
Installing package(s) 'fgsea'
Warning message in install.packages(...):
“'lib = "/opt/conda/envs/rc4/lib/R/library"' is not writable”
Error in install.packages(...): unable to install packages
Traceback:
- BiocManager::install("fgsea")
- .install(pkgs, vout[["out_of_date"]], instPkgs = inst, repos = repos,
. update = update, ask = ask, force = force, ...) - .install_repos(pkgs, old_pkgs, instPkgs = instPkgs, lib = lib,
. repos = repos, force = force, ...) - .inet_install.packages(pkgs = doing, lib = lib, repos = repos,
. ...) - withCallingHandlers({
. tryCatch({
. install.packages(...)
. }, error = function(e) {
. .inet_error(e)
. invisible(NULL)
. })
. }, warning = function(w) {
. msg <- conditionMessage(w)
. if (grepl("not available", msg)) {
. msg <- gsub("this version of R", paste0("Bioconductor version ",
. "'", version(), "'"), msg)
. w <- simpleWarning(msg, conditionCall(w))
. }
. .inet_warning(w)
. }) - tryCatch({
. install.packages(...)
. }, error = function(e) {
. .inet_error(e)
. invisible(NULL)
. }) - tryCatchList(expr, classes, parentenv, handlers)
- tryCatchOne(expr, names, parentenv, handlers[[1L]])
- value[3L]
- .inet_error(e)
@wilsonavac It should be fine now, please have a look and let me know!
it works now on the RP2 kernel! thank you
Great! RP2 is set by default now so you won't need to change it every time.