Skip to contents

The object returned is a handle to the newly created instance. It will be required as an argument for all functions that operate on the instance. Creating multiple instances simultaneously is supported.

Usage

newcore(
  inifile,
  loglevel = 0,
  suppresslogging = TRUE,
  name = "Unnamed Hector core"
)

Arguments

inifile

(String) name of the hector input file.

loglevel

(int) minimum message level to output in logs (see loglevels).

suppresslogging

(bool) If true, suppress all logging (loglevel is ignored in this case).

name

(string) An optional name to identify the core.

Value

handle for the Hector instance.

See also

Other main user interface functions: fetchvars(), get_tracking_data(), reset(), run(), setvar(), shutdown()