I have done that,
install.packages("dplyr", lib = "/Users/ahmed/Documents/R/win-library/4.0")
install.packages("caret", lib = "/Users/ahmed/Documents/R/win-library/4.0")
install.packages("doParallel", lib = "/Users/ahmed/Documents/R/win-library/4.0")
library(dplyr)
library(caret)
library(doParallel)
Then when I run this, I receive this message
Attaching package: �dplyr�
The following objects are masked from �package:stats�:
filter, lag
I understand that filter function from dplyr will be applied first,
but when I try to run this code
load('2019flights.Rdata')
flightsNotCancelled = df %>%
filter(CANCELLED == 0) %>%
na.omit
I receive the following error
Error in UseMethod("filter_") : no applicable method for 'filter_' applied to an object of class "NULL"