| openPackageFile {PBSmodelling} | R Documentation |
Open a file from a package in the R library, given the package name and the file path relative to the package root directory.
openPackageFile(package, filepath)
package |
name of the package |
filepath |
path to file from the package's root directory |
The openFile function is used to open the file, using
associations set by setPBSext.
To use this function in a window description file, the
package and filepath arguments must be specified
as the action of the widget that calls openPackageFile.
Furthermore, package and filepath must be
separated by commas (e.g., action=myPackage,/doc/help.pdf).
If all the required arguments are missing, it is assumed that the function is being called by a GUI widget.
openFile, setPBSext, openProjFiles,
openExamples
## Not run:
openPackageFile("myPackage", "/doc/help.pdf")
## End(Not run)