[R] Redirect/pipe output to less
(Ted Harding)
Ted.Harding at manchester.ac.uk
Fri Mar 12 23:45:43 CET 2010
On 12-Mar-10 19:41:22, Ali Tofigh wrote:
> On Fri, Mar 12, 2010 at 14:27, Ted Harding
> <Ted.Harding at manchester.ac.uk> wrote:
>> However, all that was a long time ago. Check 'page' in your
>> newer R!
>
> Thanks for the tip. But I don't understand what page is supposed to
> do. For example,
>
> page(1:3)
>
> simply displays the text string "1:3" in less. And if I do
>
> x <- 1:3
> page(x)
>
> I still get a display of the text "1:3" in less. Not sure at all what
> page is good for...
>
> /Ali
Try something like
X <- cbind(rnorm(1000),runif(1000))
page(X,method="print")
And see ?page
Ted.
--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at manchester.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 12-Mar-10 Time: 22:45:40
------------------------------ XFMail ------------------------------
More information about the R-help
mailing list