This script reads from and writes to the setup configuration file (bstr.ini) for bstr. Usually this will be called automatically when the package is installed and loaded for the first time. Optionally, it can be executed by the user immediately after installing bstr.

setup(brainsuite_path = NULL, quiet = FALSE, raise_error = TRUE)

Arguments

brainsuite_path

path to the BrainSuite installation

quiet

logical; if FALSE does not display messages to the user

raise_error

logical; if TRUE, stops the execution if file does not exist. The default value is FALSE, in which case the function returns FALSE without stopping the execution.