From hb at stat.berkeley.edu  Mon May 14 06:14:24 2007
From: hb at stat.berkeley.edu (Henrik Bengtsson)
Date: Sun, 13 May 2007 21:14:24 -0700
Subject: [Rd] Native implementation of rowMedians()
Message-ID: <59d7961d0705132114j7f8261e0oc25cfe7379cbb0e7@mail.gmail.com>

Hi,

I've got a version of rowMedians(x, na.rm=FALSE) for matrices that
handles missing values implemented in C.  It has been optimized for
memory and speed.  To avoid coercing integers to doubles, and hence
allocate an additional 200% memory, there is one C function for
integers and one for doubles.

The rowMedians() implementation is currently sitting in my non-CRAN
package R.native available by:

source("http://www.braju.com/R/hbLite.R")
hbLite("R.native")
library(R.native)
example(rowMedians)

The source code package is available at:

 http://www.braju.com/R/repos/R.native_0.1.2.tar.gz

Before I submit a package to CRAN consisting of pretty much just
rowMedians(), would it make more sense for it to go into one of the
core packages?  If so, how should I proceed?

/Henrik



[Rd] Native implementation of rowMedians()
Henrik Bengtsson