Sets the main output directory and nulls out the others

setOutDir(settings, outDir)

Arguments

settings

A Settings object

outDir

The desired output directory

Value

The original Settings object with updated output directories

Details

Sets the main output directory (settings$outdir) to outDir, and sets numerous others (settings$modeloutdir, settings$host$rundir, settings$host$outdir, settings$host$modeloutdir) to NULL so they will revert to defaults when check.settings is run.