install modeest and genefilter packages


I have a problem installing packages. I don't know what to do.

library("modeest", lib.loc="~/R/win-library/3.5")
Error: package or namespace load failed for ‘modeest’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘genefilter’

and when I try genefilter

Installing package into ‘C:/Users/HP/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘genefilter’ is not available (for R version 3.5.1)

Does it mean that I have to pay to be able to use those packages?

To clarify this part: absolutely not! :smile:

That message can mean that the package in question is not compatible with your version of R. However, you can also get the same error message if R was not able to reach CRAN while it was trying to install, or if the local CRAN mirror you reached by default is incomplete and is missing that package. Or if the package is not actually on CRAN at all, but instead distributed elsewhere (e.g., on Bioconductor, or via GitHub).

In this case, while modeest is on CRAN, its dependency genefilter is part of Bioconductor, so it needs to be installed using Bioconductor methods (start here if you’ve never installed a Bioconductor package before:

1 Like

I discovered that Bioconductor has its own package installer.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.