Learn R Programming

RcppGetconf (version 0.0.4)

getAll: Return all System Configuration Settings

Description

Retrieve all configuration settings

Usage

getAll(path = ".")

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.

Arguments

path

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

Author

Dirk Eddelbuettel

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
if (Sys.info()[["sysname"]] != "SunOS") {
    head(getAll(), 30)
    subset(getAll(), type=="path")
}

Run the code above in your browser using DataLab