Maintainer: Rowan Haigh, Program Head -- Offshore Rockfish
Pacific Biological Station (PBS), Fisheries & Oceans Canada (DFO), Nanaimo BC
locus opus: Regional Headquarters (RHQ), Vancouver BC
Last modified Rd: 2023-01-05
See Also
In package PBSmodelling:
getPBSext, openFile, clearPBSext
Examples
## Not run:local(envir=.PBSmodEnv,expr={## Set '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")## Set 'notepad' to open '.txt' files (only applicable if notepad is NOT default editor)## Note that commands to editors (at least in Windows) do not use 'file://'. setPBSext('txt','"C:/Windows/notepad.exe" %f') openFile("foo.txt")})## End(Not run)