Re: [Rd] Minor edit to R-ints doc will be needed for R-2.15.2: axis() no longer uses .Internal()

2012-10-02 Thread Prof Brian Ripley
On 02/10/2012 22:17, Josh O'Brien wrote: Hello, The second paragraph of Chapter 2: .Internal vs .Primitive of R-ints uses axis() as an example of a function that uses .Internal(). Here's the quote: Functions using .Internal() wrapped in a closure are in general preferred as this ensures stand

Re: [Rd] Fastest non-overlapping binning mean function out there?

2012-10-02 Thread Hervé Pagès
On 10/02/2012 06:11 PM, Hervé Pagès wrote: Hi Henrik, On 10/02/2012 05:19 PM, Henrik Bengtsson wrote: Hi, I'm looking for a super-duper fast mean/sum binning implementation available in R, and before implementing z = binnedMeans(x y) in native code myself, does any one know of an existing func

Re: [Rd] Fastest non-overlapping binning mean function out there?

2012-10-02 Thread Hervé Pagès
Hi Henrik, On 10/02/2012 05:19 PM, Henrik Bengtsson wrote: Hi, I'm looking for a super-duper fast mean/sum binning implementation available in R, and before implementing z = binnedMeans(x y) in native code myself, does any one know of an existing function/package for this? I'm sure it already

[Rd] Fastest non-overlapping binning mean function out there?

2012-10-02 Thread Henrik Bengtsson
Hi, I'm looking for a super-duper fast mean/sum binning implementation available in R, and before implementing z = binnedMeans(x y) in native code myself, does any one know of an existing function/package for this? I'm sure it already exists. So, given data (x,y) and B bins bx[1] < bx[2] < ... <

[Rd] Minor edit to R-ints doc will be needed for R-2.15.2: axis() no longer uses .Internal()

2012-10-02 Thread Josh O'Brien
Hello, The second paragraph of Chapter 2: .Internal vs .Primitive of R-ints uses axis() as an example of a function that uses .Internal(). Here's the quote: > Functions using .Internal() wrapped in a closure are in general preferred as > this ensures > standard handling of named and default argu

Re: [Rd] False positive note about ambiguous dispatch

2012-10-02 Thread Hervé Pagès
Thanks you. H. On 10/02/2012 01:56 PM, John Chambers wrote: The as() function does some non-standard stuff, and it appears in this example to set up methods for coerce() in a way that fools the disambiguation code (which is newer than the as() code, I think). Pending a rewrite of as() (not imm

Re: [Rd] False positive note about ambiguous dispatch

2012-10-02 Thread John Chambers
The as() function does some non-standard stuff, and it appears in this example to set up methods for coerce() in a way that fools the disambiguation code (which is newer than the as() code, I think). Pending a rewrite of as() (not imminent) the Note has been deactivated for the coerce() generi