'Rcpp' Interface for Querying System Configuration Variables

The 'getconf' command-line tool provided by 'libc' allows querying of a large number of system variables. This package provides similar functionality.

Rcpp Read Access to System Configuration Settings

Modern POSIX systems have a binary getconf which can access the system calls sysconf, pathconf and confstr. This package brings the values back to R.

This package requires access to these system calls, and definitions of its data structures in the system header files. It works on Linux and OS X and should work on other POSIX-compliant OSs. Contributions would be very welcome.

The package is on CRAN and can be installed via a standard

R> install.packages("RcppGetconf")

It contains two useful functions right now. It currently builds cleanly on Linux and OS X; reports from other builds would (and PRs where needed) would be greatly appreciated.

Dirk Eddelbuettel

GPL (>= 2)


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.0.2 by Dirk Eddelbuettel, a year ago


Report a bug at https://github.com/eddelbuettel/rcppgetconf/issues

Browse source code at https://github.com/cran/RcppGetconf

Authors: Dirk Eddelbuettel

Documentation:   PDF Manual  

GPL (>= 2) license

Imports Rcpp

Linking to Rcpp

System requirements: A POSIX system. Currently Linux and OS X are known to work.

See at CRAN