RmbDefaultSettings {RMassBank} | R Documentation

## RMassBank settings

### Description

Load, set and reset settings for RMassBank.

### Usage

    loadRmbSettings(file_or_list)

    loadRmbSettingsFromEnv(env = .GlobalEnv)

    RmbDefaultSettings()

    RmbSettingsTemplate(target)

### Arguments

`file_or_list` | The file (YML or R format) or R `list` with the settings to load.
`target` | The path where the template setting file should be stored.
`env` | The environment to load the settings from.

### Details

`RmbSettingsTemplate` creates a template file in which you can adjust the settings as you like. Before using RMassBank, you must then load the settings file using `loadRmbSettings`. `RmbDefaultSettings` loads the default settings. `loadRmbSettingsFromEnv` loads the settings stored in env$RmbSettings, which is useful when reloading archives with saved settings inside.

Note: no settings are loaded upon loading MassBank! This is intended, so that one never forgets to load the correct settings.

The settings are described in `RmbSettings`.

### Value

None.

### Note

The default settings will not work for you unless you have, by chance, installed OpenBabel into the same directory as I have!

### Author(s)

Michael Stravs

### See Also

`RmbSettings`

### Examples

     # Create a standard settings file and load it (unedited)
    	RmbSettingsTemplate("mysettings.ini")
     loadRmbSettings("mysettings.ini")
     unlink("mysettings.ini")

[Package RMassBank version 3.2.0 Index]