[R] Browsing through a dataframe page by page (like with shell command more)

Greg Snow Greg.Snow at imail.org
Mon Dec 13 19:48:33 CET 2010


For data frames the best is probably the View function (note capitol V) which opens the data frame in a spreadsheet like window that you can scroll through.

For more complicated, list or list-like objects, look at TkListView in the TeachingDemos package.

For more general investigation of data objects look at ?page and ?options specifically the "pager" section.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Alexandre CESARI
> Sent: Monday, December 13, 2010 3:49 AM
> To: r-help at r-project.org
> Subject: [R] Browsing through a dataframe page by page (like with shell
> command more)
> 
> Hello,
> 
> I'm looking for an easy way to display a data.frame (or other
> variables)
> page by page, similarly to what is possible on a file using the more
> command
> in a standard UNIX shell. Any help would be greatly appreciated.
> 
> Thanks
> 
> Alexandre
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list