[R] giving priority to stats package

Gabor Grothendieck ggrothend|eck @end|ng |rom gm@||@com
Sat Nov 23 14:24:54 CET 2019

library and require have new args in 3.6 giving additional control
over conflicts.  This seems very useful but I was wondering if there
were some, preferabley simple, way to give existing loaded packages
priority without knowing the actual conflicts in advance.  For example

    library(dplyr, exclude = c("filter", "lag"))

works to avoid masking those names in stats that would otherwise be
masked by that package but I had to know in advance that filter and
lag were the conflicting names.

Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com

More information about the R-help mailing list