Entering edit mode
3.9 years ago
peter.berry5
▴
60
Hi
I am trying to use the pathfindR package to do enrichment analysis on my data. According to the vignette the package is downloaded from CRAN by
install.packages("pathfindR")
this gives the following output
Installing package into ��
(as �lib� is unspecified)
Warning in install.packages :
dependencies ‘org.Hs.eg.db’, ‘KEGGREST’, ‘KEGGgraph’ are not available
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/pathfindR_1.6.0.zip'
Content type 'application/zip' length 2782854 bytes (2.7 MB)
downloaded 2.7 MB
package ‘pathfindR’ successfully unpacked and MD5 sums checked
so I believe the package has been installed successfully. However, when I call the package by
library(pathfindR)
I get
#Error in library("pathfindR") : there is no package called ‘pathfindR’
Any thoughts/suggestions?
So the install was not complete. You should install those packages first.
@GenoMax, thanks, I did wonder about that bit. Any suggestions on how to fix that problem? I understood the dependencies installed automatically and that no action from me was required.
Just install the required packages. Those dependencies are not automatically installed!
@GenoMax and Bruno. Have done that and it it's working. Just for info the other issue I had was I needed to install a JRE which I apparently hadn't done before. Thanks for the help. It's appreciated.
I have the same problem today!
Error: package or namespace load failed for ‘pathfindR’: .onAttach failed in attachNamespace() for 'pathfindR', details: call: fetch_java_version() error: Java version not detected. Please download and install Java from “https://www.java.com/en/” Error: loading failed Execution halted ERROR: loading failed
Could someone tell me where I am going wrong? I updated my Java and installed KEGGgraph, etc separately as well