w.csvmap.batch: Write a .bat file to generate hexmap from a list of csv files

Description Usage Arguments Details Value

View source: R/batch.utilities.R

Description

The .bat file is saved in the path indicated by dir.out. If NULL (default), the working directory is used. Ultimately, the batch file needs to be copied where the HexMapConverter.exe is located.

Usage

1
2
3
4
5
6
7
8
9
w.csvmap.batch(
  file.list,
  header = "true",
  hexID = "true",
  rows,
  cols,
  narrow = "false",
  dir.out = NULL
)

Arguments

file.list

A character vector with the fully qualified name of the csv files

header, hexID, rows, cols, narrow

arguments to be passed to HexMapConverter.exe, see HexSim guide for details

dir.out

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

Details

The output folder where the hxn are saved will be a subfolder within dir.out. These subfolders are named from the csv file name, without the extension.

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

Value

A .bat file named comb_log_files.bat


carlopacioni/HexSimR documentation built on Nov. 28, 2020, 4:12 p.m.