RcppGetconf (version 0.0.3)

getAll: 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.

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.

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.

See Also

getConfig

Examples

Run this code
# NOT RUN {
if (Sys.info()[["sysname"]] != "SunOS") {
    head(getAll(), 30)
    subset(getAll(), type=="path")
}
# }

Run the code above in your browser using DataCamp Workspace