getAll: Return all System Configuration Settings

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Retrieve all configuration settings

Usage

1
getAll(path = ".")

Arguments

path

An optional character object specifying a path. Default is the current directory.

Details

This functions returns all configuration settings which can be queried in a data.frame object. The system-level functions sysconf, pathconf and confstr provide all the underlying information.

Value

A data.frame with three colums for key, value and (source) type. Not all keys return a value; in those cases an empty string is returned. Type is one of path, sys and conf and signals how the value was obtained.

Author(s)

Dirk Eddelbuettel

See Also

getConfig

Examples

1
2
3
4
if (Sys.info()[["sysname"]] != "SunOS") {
    head(getAll(), 30)
    subset(getAll(), type=="path")
}

RcppGetconf documentation built on May 1, 2019, 9:45 p.m.