Bioconductor - Error : Function found is not S4 generic
1
0
Entering edit mode
9.6 years ago
gtho123 ▴ 260

I am trying to use the GenomicRanges and ggbio packages. When I try and load them I get this error.

> library("GenomicRanges")
Loading required package: IRanges
Error : Function found when exporting methods from the namespace 'IRanges' which is not S4 generic: 'relist'
Error: package 'IRanges' could not be loaded

Why is this and how do I fix it?

R bioconducto softwareerror • 7.2k views
ADD COMMENT
0
Entering edit mode

What's your sessionInfo()?

ADD REPLY
5
Entering edit mode
9.6 years ago
gtho123 ▴ 260

Ahh, I restarted R and everything seems to be working.

ADD COMMENT
1
Entering edit mode

Sometimes, something in your workspace can conflict with what is being loaded, I guess you had a function relist defined. Always try to load R with R --vanilla if you experience something like this.

ADD REPLY

Login before adding your answer.

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