## Not run:
# local(envir=.PBSmodEnv,expr={
# # use openFile directly:
# openFile( "doc/PBSmodelling-UG.pdf", package="PBSmodelling" )
# })
# local(envir=.PBSmodEnv,expr={
# # via doAction in a window description file:
# createWin( "button text=help func=doAction width=20 pady=25 bg=green
# action=\"openFile(`doc/PBSmodelling-UG.pdf`,package=`PBSmodelling`)\"", astext=TRUE)
# })
# local(envir=.PBSmodEnv,expr={
# # Set up Firefox to open .html files (only applicable if Firefox is NOT default web browser)
# setPBSext("html", '"c:/Program Files/Mozilla Firefox/firefox.exe" file://%f')
# openFile("foo.html")
# })
# ## End(Not run)
Run the code above in your browser using DataLab