batchWinsteps: Batch Process Winsteps Files

Description Usage Arguments

View source: R/batchWinsteps.r

Description

This function searches the working directory for Winsteps control files and creates a batch processing file based on all the control files in the directory. Alternatively, a vector of control file names can be supplied, from which teh batch processing file is constructed.

Usage

1
2
batchWinsteps(batchName, files = NULL, dir = getwd(), outFileNames = NULL,
  pattern = "Cntrl")

Arguments

batchName

The name of the batch file to be saved.

files

Optional vector of the names of all Winsteps control files. Note that only the name is requred, not the extension (.txt is assumed). If argument is not supplied, the function will search the working directory files with a common string pattern.

dir

Directory where multiple control files are saved. Defaults to current directory.

outFileNames

Character vector of output file names from Winsteps analyses. Defaults to NULL, and the function creates names based on the names of the control files.

pattern

Common character pattern represented in control files in the directory. Defaults to "Cntrl", which is what is automatically generated when r2Winsteps is called. Note that if files argument is supplied, pattern is ignored.


DJAnderson07/r2Winsteps documentation built on Sept. 12, 2019, 1:06 a.m.