From: Tim Hesterberg <timhesterberg_at_gmail.com>

Date: Tue, 22 May 2012 06:47:42 -0700

R-packages mailing list

R-packages_at_r-project.org

https://stat.ethz.ch/mailman/listinfo/r-packages Received on Wed 23 May 2012 - 20:10:06 EST

Date: Tue, 22 May 2012 06:47:42 -0700

A new 'dataframe' package is on CRAN. This is a modified version
of the data frame code in R, modified to make fewer copies of the inputs
and run faster, e.g.

as.data.frame(a vector)

makes 1 copy of the vector rather than 3,
data.frame(a vector)

makes 3 copies rather than 6, and

x[, "a"] <- newValue

makes (2,2,1) copies of (old data frame, new column, integer vector
of row names) rather than (6,4,2).

Functionality should be identical to existing R code, with two exceptions:

** bug fix, if x has two columns, then x[[4]] <- value will fail rather than *

producing an illegal data frame

** round(a data frame with numeric and factor columns)*

rounds the numeric columns and leaves the factor columns unchanged, rather
than failing.

Tim Hesterberg

NEW! Mathematical Statistics with Resampling and R, Chihara & Hesterberg
http://www.amazon.com/Mathematical-Statistics-Resampling-Laura-Chihara/dp/1118029852/ref=sr_1_1?ie=UTF8
http://home.comcast.net/~timhesterberg

(resampling, water bottle rockets, computers to Costa Rica, shower = 2650 light bulbs, ...)

R-packages mailing list

R-packages_at_r-project.org

https://stat.ethz.ch/mailman/listinfo/r-packages Received on Wed 23 May 2012 - 20:10:06 EST

*
This archive was generated by hypermail 2.2.0
: Wed 23 May 2012 - 20:20:01 EST
*