Learn R Programming

distcomp (version 1.3-3)

getConfig: Return the workspace and configuration setup values

Description

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

Usage

getConfig(...)

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

Arguments

...

any further arguments

See Also

distcompSetup()

Examples

Run this code
if (FALSE) {
getConfig()
}

Run the code above in your browser using DataLab