[R] edit.data.frame - summary

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Jan 13 12:49:30 CET 2006

On Fri, 13 Jan 2006, Fredrik Lundgren wrote:

> Thanks to
> David Firth
> Brian Ripley
> ronggui
> jim holtman
> who help with this question.
> showData() from the relimp package works and shows the dataframe "as.is"
> but scrolls rather weak with huge data.frames (15 000 x 120)
> fix(...) is somewhat dangerous as you usually don't want to correct
> individual data but
> get an overview
> invisible(edit(...)) does the trick and scrolls with excellent speed
> even with huge dataframes

It has been tested on tens of thousands of columns.

> but not exactly "as.is" (dates as negative or positive integer, minor
> problem).

Well, actually this is `as.is' and showData is not (and that _is_ 
documented on the help page).  If you want to see the printed 
representation, call invisible(edit(format(your_df)))

A non-modal read-only version of the dataeditors would be a nice 
programming exercise.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list