Skip to content

Omitted rows from filtering replaced with NAs when viewing a dataframe #4045

Answered by dfalbel
rmcchrystal asked this question in Feedback
Discussion options

You must be logged in to vote

I was able to reproduce this with:

x <- data.frame(x = c(1,2,3))
View(x)
# now add a filter for eg x > 1
x$x <- NA_real_

Going back to viewer, there are still 2 lines, and they show NA.

I can also confirm that the fix for #4170 will also fix this issue.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rmcchrystal
Comment options

Answer selected by rmcchrystal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants