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

Duncan Murdoch murdoch.duncan at gmail.com
Fri Apr 15 14:43:46 CEST 2011


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