[Rd] Native implementation of rowMedians()

From: Henrik Bengtsson <hb_at_stat.berkeley.edu>
Date: Sun, 13 May 2007 21:14:24 -0700


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



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 14 May 2007 - 04:20:16 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 14 May 2007 - 08:33:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.