Dear list, Sometimes I have huge data.frames and the small spreadsheetlike edit.data.frame is quite handy to get an overview of the data. However, when I close the editor all data are rolled over the console window, which takes time and clutters the window. Is there a way to avoid this? Fredrik
On Thu, 12 Jan 2006, Fredrik Lundgren wrote:> Sometimes I have huge data.frames and the small spreadsheetlike > edit.data.frame is quite handy to get an overview of the data. However, > when I close the editor all data are rolled over the console window, > which takes time and clutters the window. Is there a way to avoid this?If you mean printed to the R terminal/console, assign the result or use invisible(edit(object)). -- 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
I think fix(data.frame.name) is the best way . 2006/1/13, Prof Brian Ripley <ripley at stats.ox.ac.uk>:> On Thu, 12 Jan 2006, Fredrik Lundgren wrote: > > > Sometimes I have huge data.frames and the small spreadsheetlike > > edit.data.frame is quite handy to get an overview of the data. However, > > when I close the editor all data are rolled over the console window, > > which takes time and clutters the window. Is there a way to avoid this? > > If you mean printed to the R terminal/console, assign the result or use > invisible(edit(object)). > > > -- > 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 > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >-- 伝伷伻佡伖侒 Deparment of Sociology Fudan University
That changes the object if you make a change in the editor, so definitely NOT to be recommended. On Fri, 13 Jan 2006, ronggui wrote:> I think fix(data.frame.name) is the best way . > 2006/1/13, Prof Brian Ripley <ripley at stats.ox.ac.uk>:> On Thu, 12 Jan 2006, Fredrik Lundgren wrote:>> > Sometimes I have huge data.frames and the small spreadsheetlike> > edit.data.frame is quite handy to get an overview of the data. However,> > when I close the editor all data are rolled over the console window,> > which takes time and clutters the window. Is there a way to avoid this?>> If you mean printed to the R terminal/console, assign the result or use> invisible(edit(object)).>>> --> 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>> ______________________________________________> R-help at stat.math.ethz.ch mailing list> https://stat.ethz.ch/mailman/listinfo/r-help> PLEASE do read the posting guide! http://www.R-p! > roject.org/posting-guide.html> > > --»ÆÈÙ¹óDeparment of SociologyFudan University > >-- 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
On 12 Jan 2006, at 22:17, Fredrik Lundgren wrote:> Dear list, > > Sometimes I have huge data.frames and the small spreadsheetlike > edit.data.frame is quite handy to get an overview of the data. > However, > when I close the editor all data are rolled over the console window, > which takes time and clutters the window. Is there a way to avoid > this? >An alternative to the editor is showData() from the relimp package. It is modeless, meaning that your data window can be left open/ minimized while you work in R. I haven't tested it with _very_ large data frames though. David -- Professor David Firth http://www.warwick.ac.uk/go/dfirth