getFamePath: Path to a Fame Database

Description Usage Arguments Details Value See Also

View source: R/fame.R

Description

Attempts to resolve its argument to a database path.

Usage

1
getFamePath(dbString, stopOnFail = TRUE)

Arguments

dbString

A database name understood by the local customizing function fameLocalPath (if it exists), the name of a file in the current directory, or the full path name of a database.

stopOnFail

If TRUE, stop with an error message if a readable database cannot be found.

Details

If a local function called fameLocalPath exists, it is called first on dbString to get a pathname. Otherwise, dbString is presumed to be the pathname. The pathname is checked for existence and readability. If there is a white space in the pathname, it is presumed valid, as that might specifying a Fame Server. Otherwise, if there is a failure and stopOnFail is TRUE, the function fails with an error message.

putfame calls this function with stopOnFail = FALSE, because it normally creates a new database if there isn't one there already.

Value

A path to a Fame database or Fame Server specification.

See Also

fameCustomization


fame documentation built on Nov. 6, 2021, 1:06 a.m.

Related to getFamePath in fame...