promptWriteOptions | R Documentation |
If changes have been made to PBS options, this function allows
the user to choose whether to write PBS options to an external
file that can be loaded later by readPBSoptions
.
promptWriteOptions(fname="")
fname |
name of file where options will be saved. |
If there are options that have been changed in the GUI but have not been committed to PBSmodelling memory in the global R environment, the user is prompted to choose whether or not to commit these options.
Then, if any PBS options have been changed, the user is prompted to choose
whether to save these options to the file fname
. (When a new R session is
started or when a call to readPBSoptions
or writePBSoptions
is made,
PBS options are considered to be unchanged; when an option is set,
the options are considered to be changed).
If fname=""
, the user is prompted to save under the file name last used
by a call to readPBSoptions
or writePBSoptions
if available.
Otherwise, the default file name "PBSoptions.txt" is used.
Anisa Egeli, Vancouver Island University, Nanaimo BC
writePBSoptions
, readPBSoptions
,
setPBSoptions
## Not run:
local(envir=.PBSmodEnv,expr={
promptWriteOptions() #uses default filename PBSoptions.txt
})
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.