From [package] import [function] in R
问题 Working with data in Python or R, we often load several packages. In some cases, two packages (e.g. foo and bar ) might each contain some function (e.g. do_stuff ). The way this is managed in Python to prevent ambiguity or surprises is like: from foo import do_stuff from bar import other_function # (does not load/import do_stuff() from bar) In R, all the code I see just imports whole packages with multiple library(package_name) statements. I would think this would lead to very difficult-to