If I load the MASS
package:
library(MASS)
then load try to run dplyr::select
, I get a error:
library(dplyr) mtcars %.% select(mpg) # Error in select(`__prev`, mpg) : unused argument (mpg)
How can I use dplyr::select
with the MASS
package loaded?
As Pascal said, the following works
require(MASS) require(dplyr) mtcars %>% dplyr::select(mpg)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With