I’m wondering if there is any way for me to create a generic function in a
package that merges the generics and methods from two or more packages that
each define a generic with the same name, but have non intersecting instances.
Here is an example. dplyr and MASS both define an S3 generic sel
Finding and not unnecessarily duplicating existing functionality is important
also from a user perspective. Negative binomial regression provides a somewhat
extreme example of existing overlap between packages, with the scope that this
creates for confusing users, especially as the notation is
In both R and JSON (and many other languages), unicode characters can
be escaped using a backslash followed by a lowercase "u" and a 4 digit
hex code. However when deparsing a character vector in R on Windows,
the non-latin characters get escaped as "":
> x <- "I like \u5BFF\u53F8"
> cat(x)
I like