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

zubin binabina at bellsouth.net
Fri Apr 15 15:40:08 CEST 2011


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
>



More information about the R-help mailing list