Question: Bug report for GenomicRanges
1
gravatar for gabriel.hoffman
9 weeks ago by
United States
gabriel.hoffman10 wrote:

GenomicRanges prints a large set of warnings to my terminal when I set a class variable first:

library(GenomicRanges)
setClass("DataFrame") 
gr = GRanges(rep(1, 2), IRanges(1:2, 1:2))

This results in this message printed to the terminal:

Found more than one class "DataFrame" in cache; using the first, from namespace '.GlobalEnv' Also defined by ‘S4Vectors’

This occurs on multiple R versions (including v3.5.1) and multiple operating systems.

This is a simplified example. In practice, I run:

# from [https://github.com/Sage-Bionetworks/PythonEmbedInR](https://github.com/Sage-Bionetworks/PythonEmbedInR)
library(PythonEmbedInR) 
library(GenomicRanges)
gr = GRanges(rep(1, 2), IRanges(1:2, 1:2))

This produces the same print out as above.

I can see that PythonEmbedInR runs setClass("DataFrame") internally.

Is this something that should be fixed in GenomicRanges, or in PythonEmbedInR?

Note, this is my correspondance about this issue before I create this clearer statement of the problem: https://github.com/Sage-Bionetworks/synapser/issues/201

genomicranges • 112 views
ADD COMMENTlink modified 9 weeks ago by Michael Lawrence10k • written 9 weeks ago by gabriel.hoffman10
Answer: Bug report for GenomicRanges
0
gravatar for Michael Lawrence
9 weeks ago by
United States
Michael Lawrence10k wrote:

This was a limitation of the methods package. Should be fixed in R-devel now.

ADD COMMENTlink written 9 weeks ago by Michael Lawrence10k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 321 users visited in the last hour