Re: [Bioc-devel] Overflow in as(rlelist, IntegerList

2014-03-30 Thread Michael Lawrence
I was thinking the same thing and given this encouragement made the change to devel. On Sat, Mar 29, 2014 at 10:04 PM, Hervé Pagès hpa...@fhcrc.org wrote: Hi Michael, On 03/29/2014 02:07 PM, Michael Lawrence wrote: Just coerce the RleList to SimpleIntegerList. Isn't what as(x,

[Bioc-devel] Overflow in as(rlelist, IntegerList

2014-03-29 Thread Gabe Becker
Hi all, Apologies if this gets duplicated. I was not subscribed when I originally sent it. We have a very large RleList, such that the sum of the lengths is larger than INT.MAX, that we want to convert to an also very large IntegerList (whole genome coverages by chromosome I believe, though I'm

Re: [Bioc-devel] Overflow in as(rlelist, IntegerList

2014-03-29 Thread Michael Lawrence
Just coerce the RleList to SimpleIntegerList. On Sat, Mar 29, 2014 at 1:10 PM, Gabe Becker becker.g...@gene.com wrote: Hi all, Apologies if this gets duplicated. I was not subscribed when I originally sent it. We have a very large RleList, such that the sum of the lengths is larger than

Re: [Bioc-devel] Overflow in as(rlelist, IntegerList

2014-03-29 Thread Gabe Becker
Fair enough, though an indication of the length limit in the documentation at ?IntegerList or a more informative error message would be nice. Apologies for the noise. ~G On Sat, Mar 29, 2014 at 2:07 PM, Michael Lawrence lawrence.mich...@gene.com wrote: Just coerce the RleList to

Re: [Bioc-devel] Overflow in as(rlelist, IntegerList

2014-03-29 Thread Hervé Pagès
Hi Michael, On 03/29/2014 02:07 PM, Michael Lawrence wrote: Just coerce the RleList to SimpleIntegerList. Isn't what as(x, IntegerList) should do when 'x' is a SimpleRleList? Thanks, H. On Sat, Mar 29, 2014 at 1:10 PM, Gabe Becker becker.g...@gene.com wrote: Hi all, Apologies if this