Is there a way to list the objects that the package exports without actually adding it? I tried
ls(loadNamespace("ggplot2"))
However, this shows all the defined and imported objects in this package. Instead, I would like to see only exported names. That is, I would like to get the result
library(ggplot2) ls("package:ggplot2")
But without binding the package to the search path.
Jeroen
source share