[Bioc-devel] unsubcribe

2015-04-27 Thread Le Quan Ly
Hi, I want to unsubscribe from the mail list. thank you Jenny ___ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel

Re: [Bioc-devel] as.character method for GenomicRanges?

2015-04-27 Thread Michael Lawrence
It would be nice to have a single function call that would hide these details. It could probably be made more efficient also by avoiding multiple matching, unnecessary revmap lists, etc. tableAsGRanges() is not a good name but it conveys what I mean (does that make it actually good?). On Mon, Apr

Re: [Bioc-devel] as.character method for GenomicRanges?

2015-04-27 Thread Hervé Pagès
On 04/27/2015 02:15 PM, Michael Lawrence wrote: It would be nice to have a single function call that would hide these details. It could probably be made more efficient also by avoiding multiple matching, unnecessary revmap lists, etc. tableAsGRanges() is not a good name but it conveys what I

Re: [Rd] Development version of R: Improved nchar(), nzchar() but changed API

2015-04-27 Thread Mark van der Loo
Dear Martin, Does the work on nchar mean that bugs #16090 and #16091 will be resolved [1,2]? Thanks, Mark [1] https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16090 [2] https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16091 On Sat, Apr 25, 2015 at 11:06 PM, James Cloos

[Rd] Inconsistency when naming a vector

2015-04-27 Thread Hadley Wickham
Sometimes the absence of a name is maked by an NA: x - 1:2 names(x)[[1]] - a names(x) # [1] a NA Whereas other times its y - c(a = 1, 2) names(y) # [1] a Is this deliberate? The help for names() is a bit murky, but an example shows the NA behaviour. Hadley -- http://had.co.nz/

Re: [Rd] Inconsistency when naming a vector

2015-04-27 Thread peter dalgaard
On 27 Apr 2015, at 13:48 , Hadley Wickham h.wick...@gmail.com wrote: Sometimes the absence of a name is maked by an NA: x - 1:2 names(x)[[1]] - a names(x) # [1] a NA Whereas other times its y - c(a = 1, 2) names(y) # [1] a Is this deliberate? The help for names() is a bit

Re: [Rd] Inconsistency when naming a vector

2015-04-27 Thread Suzen, Mehmet
There is no inconsistency. Documentation of `names` says ...value should be a character vector of up to the same length as x... In the first definition your character vector is not the same length as length of x, so you enforce NA by not defining value[2] x - 1:2 value-c(a) value[2] [1] NA where

Re: [Rd] Inconsistency when naming a vector

2015-04-27 Thread Kevin Ushey
In `?names`: If ‘value’ is shorter than ‘x’, it is extended by character ‘NA’s to the length of ‘x’. So it is as documented. That said, it's somewhat surprising that both NA and serve as a placeholder for a 'missing name'; I believe they're treated identically by R under the hood

Re: [Rd] CRAN submit page down

2015-04-27 Thread William Revelle
Thanks. It is up again. Bill On Apr 26, 2015, at 12:53 PM, Uwe Ligges lig...@statistik.tu-dortmund.de wrote: On 26.04.2015 13:23, William Revelle wrote: This still seems to be the case. I tried uploading the most recent version of psych and got as far as the Step 3 page which

[Bioc-devel] biocUpgrade Wrongly Infers R Version

2015-04-27 Thread Dario Strbenac
I can't upgrade BiocInstaller : root@bioinfo:/home/dario/Documents# R R version 3.2.0 (2015-04-16) -- Full of Ingredients Copyright (C) 2015 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are

Re: [Bioc-devel] Biobase: Imports repeats Depends

2015-04-27 Thread Hervé Pagès
Hi Henrik, I know it's not necessary and I know that the WRE manual and 'R CMD check' don't like this but I like to list in Imports what I import and to list in Depends what I want to see attached to the search() path. For the same reason that I like to explicitly export the generic functions

Re: [Bioc-devel] Bioc package pages: List also BugReports for a package?

2015-04-27 Thread Dan Tenenbaum
- Original Message - From: Henrik Bengtsson henrik.bengts...@ucsf.edu To: bioC-devel bioc-de...@stat.math.ethz.ch Sent: Sunday, April 26, 2015 7:14:20 PM Subject: [Bioc-devel] Bioc package pages: List also BugReports for a package? For affxparser, we've got the following in

Re: [Rd] Development version of R: Improved nchar(), nzchar() but changed API

2015-04-27 Thread Martin Maechler
Mark van der Loo mark.vander...@gmail.com on Mon, 27 Apr 2015 10:26:32 +0200 writes: Dear Martin, Does the work on nchar mean that bugs #16090 and #16091 will be resolved [1,2]? Thanks, Mark [1] https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16090 [2]

Re: [Bioc-devel] seqnames as a candidate for BiocGenerics

2015-04-27 Thread Michael Lawrence
Probably because that would mean genomeIntervals depending on IRanges. Because GenomeInfoDb needs CompressedList. On Mon, Apr 27, 2015 at 11:14 AM, Hervé Pagès hpa...@fredhutch.org wrote: Hi Nico, On 04/26/2015 09:58 AM, Nicolas Delhomme wrote: Hej Hervé (I guess)! Could it be possible to

Re: [Bioc-devel] seqnames as a candidate for BiocGenerics

2015-04-27 Thread Nicolas Delhomme
Hej Michael and Hervé! Importing from GenomeInfoDb is what I do at the moment. I will have to check more extensively - adding more unit tests - but it seems to work so far, without depending on IRanges - thanks Michael I'll keep that in mind while testing. I just had the understanding that if

Re: [Bioc-devel] as.character method for GenomicRanges?

2015-04-27 Thread Hervé Pagès
On 04/24/2015 11:41 AM, Michael Lawrence wrote: Taking this a bit off topic but it would be nice if we could get the GRanges equivalent of as.data.frame(table(x)), i.e., unique(x) with a count mcol. Should be easy to support but what should the API be like? This was actually the motivating use