knowing functions and dataset available in a package without any manual and information (blackbox) R
function, installation, load, package, r
Solution
To list all stuff,
` ls("package:MASS", all = TRUE) `
`all = TRUE` shows hidden objects (i.e., variable name beginning with ".")
To list all functions with formals,
` lsf.str("package:MASS", all = TRUE) `
To list all datasets with brief description
` data(package = "MASS")$results `
Just in case, to list all imports and exports of the namespace,
` getNamespaceInfo("MASS", "imports") `
Problem
I have a package which is beta version, I do not have manual neither helppage have a manual. using following command, I can say that the package is loaded in current session. ``` (.packages()) ``` When I search ``` data() ``` I can not see any data associated with. Is that mean that there is no dataset associate with it ? How can I know whether there are any functions? ``` function() # do not work. ```