I hit send button too fast.
Thanks for this alternative solution,
Naresh
From: R-help on behalf of Naresh Gurbuxani
Sent: Wednesday, March 23, 2022 6:16 PM
To: David Carlson
Cc: r-help mailing list ; John Fox
Subject: Re: [R] print only a few lines of an object
Sent from my iPhone
Sent from my iPhone
> On Mar 23, 2022, at 5:37 PM, David Carlson via R-help
> wrote:
>
> You can set the "max.print" option to something other than the default
> value of 9, e.g. options(max.print=50). The number is not lines,
> or characters as far as I can tell. For example setting max
Dear Jeff,
On 2022-03-23 3:36 p.m., Jeff Newmiller wrote:
After-thought...
Why not just use head() and tail() like normal R users do?
head() and tail() are reasonable choices if there are many rows, but not
if there are many columns.
My first thought was your previous suggestion to redefin
Well, that depends whether the object has/inherits from a class for
which there is a suitable method for head/tail and for printing the
result. So I think your before-thought applies :-)
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into i
4 matches
Mail list logo