'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

What is this?

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.

Requirements

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.

Installation

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

R> install.packages("RcppGetconf")

Status

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.

Author

Dirk Eddelbuettel

License

GPL (>= 2)

News

Reference manual

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

install.packages("RcppGetconf")

0.0.2 by Dirk Eddelbuettel, 2 years ago


http://dirk.eddelbuettel.com/code/rcpp.getconf.html


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