write_iniList: Convert and write to files the cfg, leachn,...

Description Usage Arguments Details Value Author(s)

View source: R/write_iniList.R

Description

Intended for internal use.

Usage

1
write_iniList(xlist, file_header, file_paths = NA, append.query = FALSE)

Arguments

xlist

list with croprotations to be written to the file specified in file_paths.

file_header

character, header of the .ini file, e.g. "[plant management]" in the croprotation.ini.

file_paths

character vector with the file names corresponding to the crop rotations in xlist.

append.query

TRUE or FALSE, specifying if the output should be appended to existing files.

Details

This function is specific to the list of returned elements from croprotationDef

Value

If file_paths = NA then the character vector is returned, which of file_paths are provided, is saved to a file.

Author(s)

Tobias KD Weber , tobias.weber@uni-hohenheim.de


tkdweber/XN5setup documentation built on July 4, 2021, 7:34 a.m.