This is a test version of Biostars. For the public version, visit https://www.biostars.org.
problem for installing packages

I got a trouble for installing ReactomePA package.When i tried to library call the bellow lines has been shown.

Error: package or namespace load failed for 'ReactomePA' in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called 'reactome.db'

reactomepa

2 answers

Whenever you get an error like that in R, it means you need to install the library. In this case, try install.packages("reactome.db").

In fact, in this case, install it from bioconductor:

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("reactome.db")

Thanks .It works

Log in to answer this question.