Plamen Dimitrov
2014-Aug-11 08:05 UTC
[R] GSoC 2014 - an R package for working with RRD files
Hello,
I'm taking part in Google Summer of Code 2014 wih Ganglia and I spent the
past few months implementing an R package that makes it possible to
directly import and work with RRD (http://oss.oetiker.ch/rrdtool/) files in
R.
There are currently three ways to use the package:
- importRRD("filename", "cf", start, stop, step) - returns a
data.frame
containing the desired portion of an RRA
- importRRD('filename") - imports everything in the RRD file into a
list of
data.frame objects (one per RRA)
(the metadata is read and appropriate names are given to columns and list
elements)
- getVal("filename", "cf", step, timestamp) - optimized for
getting the
values at a specific timestamp, uses a cache to minimize the read frequency
Please, feel free to install and test the package: https://github.com/
pldimitrov/Rrd
I'm now getting close to finishing it so any feedback is more than welcome!
I'm especially worried about getting:
stack imbalance in '.Call', 28 then 29
warnings. Perhaps my protects are not matching the unprotects? Could you
suggest a good way to debug this?
Thanks,
Plamen
[[alternative HTML version deleted]]