This function sets a directory path for saving files, creating the directory if it
does not already exist. The directory path is created with the given arguments, which
are passed directly to file.path().
Usage
setSavedir(...)
Value
The path to the newly created or existing directory.
Arguments
...
Arguments to be passed to file.path() to construct the directory path.