Using View() to display values in selected column of a dataframe


In an older version of Rstudio (1.2.5019) it was possibly to directly display the values in a selected column of a dataframe using the View() function (left image).

In the newer version of Rstudio (1.4.1718-1) it seems this functionality to directly see the values has been removed (right image).

Is it possible to still obtain the list with values directly?

The left-hand-side functionality can still be achieved by indexing your data frame differently. The below code works, because square bracket indexing returns a data frame whereas $ indexing returns a vector.


Thank you for this suggestion! It's unfortunate that I can't use the autocomplete option anymore by using $, but this might be a better way to subset the data.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.