getConfig: Return the workspace and configuration setup values

Description Usage Arguments Value See Also Examples

View source: R/distcomp.R

Description

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

Usage

1

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

1
2
3
4
## Not run: 
getConfig()

## End(Not run)

distcomp documentation built on May 30, 2017, 6:24 a.m.