[R] shorten str() output for long list

Peng Yu pengyu.ut at gmail.com
Fri Dec 4 04:11:12 CET 2009


> 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.




More information about the R-help mailing list