Data viewer status bar progressively becomes out of sync with visible data

View(airquality)

The data viewer appears to calculate the visible portion of the data set incorrectly. Here, rows 1-22 are visible, but the status bar indicates that rows 1-24 are being shown (perhaps it is including the height of the header row when calculating what should be visible). This discrepancy compounds as you scroll further down the dataset; by the time one scrolls to the end of the data set, the status bar says that rows 144-153 are being shown, when it is in fact rows 133-153.

For longer data sets (~200+ rows), this can result in situations where there is no overlap between what is shown and what the status bar says is shown.

Minor observation: rows with NA cells are taller than those without any NA values. Is this intended behavior? I am using version 1.2.1327 (Build 1370 (f4d39967)).

Thanks for taking the time to investigate this! Would you mind filing this as a bug report at https://github.com/rstudio/rstudio/issues, so we don't lose track of this?

Sure! Filed here: https://github.com/rstudio/rstudio/issues/4517.

1 Like

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.