Rsamtools is not available for (for R version 4.0.2)
1
3
Entering edit mode
yusuke_suita ▴ 40
@yusuke_suita-23760
Last seen 4.4 years ago

When I try to read a Bamfiel and try to use "Rsamtools" function, then R returns the messagings below.

"Warning in install.packages : package ‘Rsamtools’ is not available (for R version 4.0.2)".

This R version is the latest version. Is there anything else we can do?

Thank you very much for the help!

Rsamtools • 4.5k views
ADD COMMENT
1
Entering edit mode

What command are you using to install Rsamtools? It's hard for people to give advice if you don't show what you've done to get to the error message.

ADD REPLY
1
Entering edit mode

Thank you very much for the answers! After using this (BiocManager::install("Rsamtools")), it worked!

Apology for not having provided the commands, it was my first time to use this forum. Now I got to know how to use it. Thank you very much for the insights!

ADD REPLY
5
Entering edit mode
ATpoint ★ 4.5k
@atpoint-13662
Last seen 35 minutes ago
Germany

You seem to be using install.packages for installation. Rsamtools is a Bioconductor package, therefore use BiocManager::install("Rsamtools") after installing Bioconductor as described: https://bioconductor.org/install/

ADD COMMENT
2
Entering edit mode

I had the same problem (R 4.2.0) I used BiocManager::install("Rsamtools", force = TRUE)

And it is working fine

ADD REPLY
0
Entering edit mode

R 4.4.x here. adding force=TRUE to BiocManager::install("Rsamtools", ask=FALSE, update=FALSE, force=TRUE) fixed the problem.

ADD REPLY

Login before adding your answer.

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