getConfig: Return the workspace and configuration setup values

View source: R/distcomp.R

getConfigR Documentation

Return the workspace and configuration setup values

Description

The function getConfig returns the values of the configuration parameters set up by distcompSetup

Usage

getConfig(...)

Arguments

...

any further arguments

Value

a list consisting of

workspacePath

a folder specifying the workspace path. This has to be writable by the opencpu process. On a cloud opencpu server on Ubuntu, for example, this requires a one-time modification of apparmor profiles to enable write permissions to this path

defnPath

the path where definition files will reside, organized by computation identifiers

instancePath

the path where instance objects will reside

defnFileName

the name for the compdef definition files

dataFileName

the name for the data files

instanceFileName

the name for the instance files

ssl_verifyhost

integer value, usually 1L, but for testing with snake-oil certs, one might set this to 0L

ssl_verifypeer

integer value, usually 1L, but for testing with snake-oil certs, one might set this to 0L

See Also

distcompSetup()

Examples

## Not run: 
getConfig()

## End(Not run)

bnaras/distcomp documentation built on Feb. 16, 2023, 10:55 a.m.