select columns without na in r code example Example: select columns without na in r library(dplyr) df %>% select_if(~ !any(is.na(.)))