| openFile {PBSmodelling} | R Documentation |
Open a file using the program associated with its extension defined by
the Windows shell. Non-windows users, or users wishing to overide the
default application, can specify a program association using setPBSext.
openFile(fname)
fname |
file name of file to open. |
If a command is registered with setPBSext, then openFile
will replace all occurrences of "%f" with the absolute path of
the filename, before executing the command.
## Not run:
# Set up firefox to open .html files
setPBSext("html", '"c:/Program Files/Mozilla Firefox/firefox.exe" file://%f')
openFile("foo.html")
## End(Not run)