[Rd] Native implementation of rowMedians()

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


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")

The source code package is available at:


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?


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.