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
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
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.
GPL (>= 2)