Learn R Programming

zonator (version 0.6.0)

parse_bat: Parse the content of a Zonation batch (bat) file and make OS specific adjustments if needed.

Description

The main issues faced between differerent platforms are the name of the executable, ways of calling it, and path separators. Relative file paths need to be expanded into full absolute paths.

Usage

parse_bat(bat.file, exe = NULL)

Arguments

bat.file

Character string path to a Zonation batch (bat) file.

exe

Character string for overriding the Zonation executable specified in the bat-file.

Value

A character string command sequence suitable for execution.