A widget that allows users to explore the example code and help files of a given R package
Given a valid package name as a character string,
eExplorer
collects all the example code from the "R-ex"
directory from the R library for that package and then displays the
names of the code examples in a list box. When a name in the list box
is clicked, the corresponding code will be displayed and users are
allowed to execute the code or view the help file for the function the
example code is for.
eExplorer(pkgName, font = "arial 13", getFocus = TRUE) getExCode(pkgName) getHelpFile(pkgName, fileName)
pkgName |
|
font |
|
fileName |
|
getFocus |
|
getExCode
and getHelpFile
are called by
eExplorer
to get the code examples or help help files
contained by a given package.
eExplorer
does not return anything useful.
Jianhua Zhang
Writing R Extension for information on "R-ex" and "help" directories
if(interactive()){ require("Biobase") || stop("Does not run without Biobase") eExplorer("Biobase") }
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.