An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20101213/95957088/attachment.pl>
Browsing through a dataframe page by page (like with shell command more)
4 messages · Alexandre CESARI, Peter Ehlers, Greg Snow
On 2010-12-13 02:49, Alexandre CESARI wrote:
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.
How about View(mydata)? See help('View').
Peter Ehlers
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.
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.
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20101214/ed2623e6/attachment.pl>