Re: [R] str() on a data frame with 600 variables

From: zubin <binabina_at_bellsouth.net>
Date: Fri, 15 Apr 2011 09:40:08 -0400

perfect! thx

On 4/15/2011 8:43 AM, Duncan Murdoch wrote:

> On 15/04/2011 8:19 AM, zubin wrote:

>> Hello..
>>
>> How do I get str() to show all variables in a data frame? It seems to be
>> "list output truncated" at about 99 variables, the data frame has over
>> 600 but i can't seem to figure out how to show all variables, we see
>> list.len() but again can't seem to figure this out - help will be
>> appreciated.
>>
>> R> str(raw)
>>
>> 'data.frame': 1201 obs. of 626 variables:
>>
>> .
>>
>> .
>>
>> $ varXYZ : int 0 0 0 0 0 0 0 0 0 0 ...
>>
>> [list output truncated]
>>
> Use str(raw, list.len=1000).
>
> Duncan Murdoch
>

______________________________________________
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. Received on Fri 15 Apr 2011 - 13:42:55 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 19 Apr 2011 - 15:15:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive