str_data {sfsmisc} | R Documentation |
Provide an overview over all datasets available by
data()
in a (list of) given R packages.
str_data(pkgs, ...)
pkgs |
character vector of names of R packages. |
... |
potentical further arguments to be passed to
str ; str(utils:::str.default) gives useful list. |
as with str()
, there's no return value.
Everything is printed (via cat
) to the console.
Martin Maechler
str_data("cluster") str_data("datasets", max=0, give.attr = FALSE) ### Data sets in all attached packages but "datasets" (and stubs): s <- search() (Apkgs <- sub("^package:", '', s[grep("^package:", s)])) str_data(Apkgs[!Apkgs %in% c("datasets", "stats", "base")])