R View() does not display all columns of data frame

前端 未结 5 2018
梦毁少年i
梦毁少年i 2020-12-09 08:25

I have been adding columns to a data frame and using View() to check that it did what I expected. I have repeated lines of code along the lines of:



        
5条回答
  •  萌比男神i
    2020-12-09 08:32

    I'm not sure if this has been mentioned before but I found this interesting post from 2012: https://support.rstudio.com/hc/en-us/community/posts/200669267-view-more-than-first-100-columns-.

    This indexing allows you to at least check the other columns and if they even exist.

    So just use: datafile[row-row, column-column].

提交回复
热议问题