[R] long output in R

Patrick Burns pburns at pburns.seanet.com
Thu Apr 22 10:19:00 CEST 2010


There are at least two functions that
may be of interest to you in this regard:

'head' (there is also 'tail')
'page'

On 21/04/2010 23:01, Mingfeng Lin wrote:
> Hello all:
>
> Is there a way to set up R such that, when you have a very long output
> from a command, it will pause when it has displayed one-screen of
> information and ask me to press a button to continue displaying? I
> happen to have one such command and the information I need is at the
> top of the output - and it's just nowhere to be seen.
>
> (If you are familiar with Stata, I'm looking for something equivalent
> to the -set more on- option there.
>
> Thanks a lot!
>
> Mingfeng
>
> ______________________________________________
> 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.
>

-- 
Patrick Burns
pburns at pburns.seanet.com
http://www.burns-stat.com
(home of 'Some hints for the R beginner'
and 'The R Inferno')



More information about the R-help mailing list