Learn R Programming

BENMMI (version 4.3-7)

read_settings: Read BENMMI Settings File

Description

This function reads BENMMI settings files. See the package vignette for a description of its format. Create an example file by calling the BENMMIdir-function.

Usage

read_settings(filename)

Arguments

filename

name of BENMMI input file (character)

Details

The function performs the following tasks:

  • checks the existence of filename;

  • reads JSON file while ignoring C-style comments;

  • checks avaiability of required keys in the JSON-file

  • checks values in JSON-file

See Also

BENMMIdir