Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

findSettings.Settings

Searches for the settings file in one or several directories


Description

Searches for the settings file in one or several directories.

Usage

## Static method (use this):
## Settings$findSettings(basename, paths=c(".", "~"), ...)

## Don't use the below:
## S3 method for class 'Settings'
findSettings(static, basename, paths=c(".", "~"), ...)

Arguments

basename

A character string of the basename of the settings file.

paths

A vector of character string specifying the directories to be searched.

...

Not used.

Value

Returns the absolute pathname (character string) of the first settings file found, otherwise NULL.

Author(s)

Henrik Bengtsson

See Also

For more information see Settings.


R.utils

Various Programming Utilities

v2.10.1
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.