Trouble loading a library
1
0
Entering edit mode
3.9 years ago
monkey-bars ▴ 40

I am trying to open a library called HTSFilter. I was able to install the package without a problem using this code:

   install.packages("HTSFilter")

And got this message:

   package ‘HTSFilter’ successfully unpacked and MD5 sums checked

But then when I tried to open it:

   library(HTSFilter)

I got this error message:

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

What does this mean and how can I fix it?

R software error • 928 views
ADD COMMENT
0
Entering edit mode
3.9 years ago

You're missing a dependency - the Hmisc package. Install it via install.packages("Hmisc") and try again. It should have been installed during installation of the other package, but it's possible the package authors either forgot to include it as a dependency (which shouldn't happen if it's in CRAN) or you managed to install it without dependencies.

Either way, that should fix that particular error, though you may run into additional errors for other dependencies if the latter scenario listed above is what occurred.

ADD COMMENT

Login before adding your answer.

Traffic: 2481 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6