Prepares the configuration (spotConfig) for SPOT

Description

Set some globally important parameters for SPOT to run, creating the parameter list (spotConfig) for SPOT from given usersConfigFile (.conf -file)

Usage

1
spotPrepare(srcPath, configFile, spotConfigUser)

Arguments

srcPath

the absolute path to the SPOT sources

configFile

the absolute path including file-specifier

spotConfigUser

a list of parameters used to configure spot, usually spotConfigUser=NA will be passed to this function, which means the configuration will only be read from the configFile, not given by manual user input. Notice that parameters given in spotConfigUser will overwrite both default values assigned by SPOT, AND values defined in the config file However, values not passed by spotConfigUser will still be used as defaults. If you want to see those defaults, look at spotGetOptions

Value

list spotConfig
- spotConfig is the list of spot parameters created by this function

Note

For developers: this function also manages the include of all functions needed - in the packaged version this is already done when package is installed.

See Also

SPOT spotGetOptions spot

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.