Problems Installing biomaRt
1
1
Entering edit mode
ksci ▴ 20
@72e6b5a3
Last seen 2.6 years ago
United States

Having issues installing biomaRt. How do I fix this?

if (!require("BiocManager", force = TRUE)) install.packages("BiocManager")

BiocManager::install("biomaRt")

'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details

replacement repositories: CRAN: https://mirror.las.iastate.edu/CRAN

Bioconductor version 3.14 (BiocManager 1.30.16), R 4.1.3 (2022-03-10) Warning message: package(s) not installed when version(s) same as current; use force = TRUE to re-install: 'biomaRt'

```

biomaRt • 5.9k views
ADD COMMENT
0
Entering edit mode

library(biomaRt)

I pressed enter to run biomaRT then this show up. Does it mean it worked?

ADD REPLY
0
Entering edit mode

If you ran the code and it looked like nothing happen then yes it worked. Some packages print welcome message and other stuff, but biomaRt is silent at that point. If there was a problem you'd see an error message, most likely "there is no package called ‘biomaRt’".

As a quick test, after using library(biomaRt) you can try running one of the functions in biomaRt. For example, if I run the code below I get the output shown after. If there's a problem with biomaRt this will show an error instead.

library(biomaRt)
listEnsembl()
        biomart                version
1         genes      Ensembl Genes 105
2 mouse_strains      Mouse strains 105
3          snps  Ensembl Variation 105
4    regulation Ensembl Regulation 105
ADD REPLY
0
Entering edit mode
Mike Smith ★ 6.6k
@mike-smith
Last seen 21 hours ago
EMBL Heidelberg

I don't see any actual errors here. There's admittedly lot of text, which might look intimidating but is totally normal and isn't particularly worrying. The important part is:

Warning message: package(s) not installed when version(s) same as current;

That's letting you know that BiocManager isn't going to install the biomaRt package because you've already got the most up-to-date version installed.

You should be able to use library(biomaRt) at this point.

ADD COMMENT
0
Entering edit mode

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

This is what I see

ADD REPLY
0
Entering edit mode

I am getting this same error. Has any one found out how to resolve it? I have tried re-installing bioMart, re-istalling and updating bioconductor. Nothing is working.

Thank you!

ADD REPLY
0
Entering edit mode

You need to show code.

ADD REPLY
0
Entering edit mode

if (!require("BiocManager", quietly = TRUE))

  • install.packages("BiocManager") BiocManager::install() 'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details

replacement repositories: CRAN: https://rweb.crmda.ku.edu/cran

Bioconductor version 3.14 (BiocManager 1.30.16), R 4.1.3 (2022-03-10)

Did it even install?

ADD REPLY

Login before adding your answer.

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