w.combine.log.batch: Write a .bat file to generate combined log files in batch...

Description Usage Arguments Value

View source: R/batch.utilities.R

Description

Write a .bat file to generate combined log files in batch mode for all selected scenarios. When scenarios="all" all scenarios listed in the 'Results' folder within the workspace will be included in the batch file.

The file is saved in the path indicated by dir.out, typically where HexSimCommandLine.exe is located. If NULL (default), the working directory is used. This may be useful when the batch file is being prepared on a different machine. Ultimately, the batch file needs to be copied where the HexSimCommandLine.exe is located.

To run the batch file, open the command prompt, navigate where HexSimCommandLine.exe is located and type "comb_log_files.bat".

Usage

1
2
w.combine.log.batch(path.results = NULL, scenarios = "all",
  dir.out = NULL)

Arguments

path.results

The path to the 'Results' folder

scenarios

A character vector with the scenarios to be processed or "all"

dir.out

Path where to save the output. If NULL (default), the working directory is used

Value

A .bat file named comb_log_files.bat


carlopacioni/HexSimR documentation built on April 15, 2019, 10:48 a.m.