wtRunInputFile.Rd
Run a WTAQ simulation with the given input file
wtRunInputFile(inputFile, wtaq.exe = .wtaq_path(), targetDirectory = tempdir(), show.results = FALSE, copyToTarget = TRUE, configuration = NULL, batchRun = FALSE, dbg = FALSE)
inputFile | Existing WTAQ input file |
---|---|
wtaq.exe | full path to WTAQ executable (default: compiled executable in package subfolder "extdata" as defined in helper function .wtaq_path() ) |
targetDirectory | optional. Target directory. If no target directory is given, a temporary directory will be used. |
show.results | if TRUE, the content of the results file will be shown in the R console. Default: FALSE |
copyToTarget | if TRUE, the input file is copied to the target directory. Set this argument to FALSE if the input file already is in the target directory and does not need to be copied again. |
configuration | WTAQ configuration object as retrieved by not given (default), it will be constructed from the input file |
batchRun | if TRUE batch run (may require admin rights!), else using direct command, default: FALSE |
dbg | if TRUE, debug messages are shown, else not. Default: FALSE |
model result as read with wtReadPlotFile
from the output
file generated by the WTAQ modelling software