Error message that there is no package called Biobase
2
0
Entering edit mode
mdroog ▴ 10
@mdroog-13422
Last seen 6.0 years ago

I am trying to learn bioconductor (as a wetlabber). I think it's super interesting. But allready at the base it is tough. I keep getting the following error:

Error in library(Biobase) : there is no package called ‘Biobase’

 

Eventhough I did install Biobase. Can anybody tell me what is going wrong? Because of this I also cannot get DESeq2 to work:

> library(DESeq2)
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : 
  there is no package called ‘Biobase’
Error: package or namespace load failed for ‘DESeq2’

Please help.

 

O, and the sessioninfo()

 

> sessionInfo()
R version 3.1.2 (2014-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=Dutch_Netherlands.1252  LC_CTYPE=Dutch_Netherlands.1252    LC_MONETARY=Dutch_Netherlands.1252
[4] LC_NUMERIC=C                       LC_TIME=Dutch_Netherlands.1252    

attached base packages:
[1] parallel  stats4    stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] RcppArmadillo_0.6.700.3.0 Rcpp_0.12.4               GenomicRanges_1.18.4      GenomeInfoDb_1.2.5       
[5] IRanges_2.0.1             S4Vectors_0.4.0           BiocGenerics_0.12.1       edgeR_3.8.6              
[9] limma_3.22.7             

loaded via a namespace (and not attached):
[1] tools_3.1.2   XVector_0.6.0

software error • 8.5k views
ADD COMMENT
3
Entering edit mode
@martin-morgan-1513
Last seen 5 months ago
United States

Packages need to be installed onto your computer

source("https://bioconductor.org/biocLite.R")
biocLite("Biobase")

This needs to be done once per installation.

And then loaded into each R session

library("Biobase")

Usually, installing a package also installs its dependencies, so to use DESeq2 it would only be necessary to install it

source("https://bioconductor.org/biocLite.R")
biocLite("DESeq2")

Your particular installation seems to be messed up, with some dependencies not available, either because you installed packages in some non-standard way (e.g., by downloading the package and installing it 'by hand') or because you installed packages correctly but then did something to your R environment (e.g., removing a library path from .libPaths()).

ADD COMMENT
0
Entering edit mode
mdroog ▴ 10
@mdroog-13422
Last seen 6.0 years ago

Thanks, your solution was indeed what I needed. 

ADD COMMENT
1
Entering edit mode

Your R version (3.1.2) is badly out of date. You'll have more fun with a more recent version, e.g. the current version is 3.4.1, see https://cran.r-project.org/

Also, if you haven't, consider using R-Studio, it makes many things around using R much easier.

ADD REPLY

Login before adding your answer.

Traffic: 535 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