getAll {RcppGetconf}R Documentation

Return all System Configuration Settings

Description

Retrieve all configuration settings

Usage

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

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

[Package RcppGetconf version 0.0.3 Index]