f Peng Yu
> Sent: Thursday, December 03, 2009 8:11 PM
> To: r-h...@stat.math.ethz.ch
> Subject: [R] shorten str() output for long list
>
> > x=split(1:1000,1:1000)
> > str(x)
>
> Although str() can suppress long output for vectors, but it can not
> suppress
"DW" == David Winsemius
> on Fri, 4 Dec 2009 01:18:56 -0500 writes:
DW> On Dec 3, 2009, at 10:11 PM, Peng Yu wrote:
>>> x=split(1:1000,1:1000)
>>> str(x)
>>
>> Although str() can suppress long output for vectors, but it can not
>> suppress long output for l
str(head(x))
str(head(x, n=5))
/H
On Thu, Dec 3, 2009 at 10:18 PM, David Winsemius wrote:
>
> On Dec 3, 2009, at 10:11 PM, Peng Yu wrote:
>
>>> x=split(1:1000,1:1000)
>>> str(x)
>>
>> Although str() can suppress long output for vectors, but it can not
>> suppress long output for list. I'm wonde
On Fri, Dec 4, 2009 at 12:18 AM, David Winsemius wrote:
>
> On Dec 3, 2009, at 10:11 PM, Peng Yu wrote:
>
>>> x=split(1:1000,1:1000)
>>> str(x)
>>
>> Although str() can suppress long output for vectors, but it can not
>> suppress long output for list. I'm wondering how to suppress the
>> output fo
On Dec 3, 2009, at 10:11 PM, Peng Yu wrote:
x=split(1:1000,1:1000)
str(x)
Although str() can suppress long output for vectors, but it can not
suppress long output for list. I'm wondering how to suppress the
output for long lists.
Very simple ... You examine the code (for str.default it's no
> x=split(1:1000,1:1000)
> str(x)
Although str() can suppress long output for vectors, but it can not
suppress long output for list. I'm wondering how to suppress the
output for long lists.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailm
6 matches
Mail list logo