list output truncated - How to expand listed variables with str() in R

后端 未结 2 1594
天命终不由人
天命终不由人 2020-12-23 09:46

I have a data.frame df with 600+ variables. I\'m writing a function that automates the creation of columns and need to visually check them once.

The

2条回答
  •  暖寄归人
    2020-12-23 10:04

    You can use the argument list.len:

    str(df, list.len=ncol(df))
    

    and if you want to print more observations you could set the argument vec.len, also have a look at ?str for documentation of all arguments.

提交回复
热议问题