Discussion:
[rrd-users] GSoC 2014 - an R package for working with RRD files
(too old to reply)
Plamen Dimitrov
2014-08-11 07:46:18 UTC
Permalink
Hello,

I spent the past few months implementing an R package that makes it
possible to directly import and work with RRD 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!

Thanks,
Plamen
Steve Shipway
2014-08-11 08:51:27 UTC
Permalink
It's great to have support for RRDTool in more languages.

Are you going to add support for calling the RRDTool standard library functions, to create graphs or update the data?

Steve

Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
***@auckland.ac.nz<mailto:***@auckland.ac.nz>
Ph: +64 9 373 7599 ext 86487

________________________________
From: rrd-users-bounces+s.shipway=***@lists.oetiker.ch [rrd-users-bounces+s.shipway=***@lists.oetiker.ch] on behalf of Plamen Dimitrov [***@gmail.com]
Sent: Monday, 11 August 2014 7:46 p.m.
To: Ganglia-***@lists.sourceforge.net; rrd-***@lists.oetiker.ch
Cc: Daniel Pocock
Subject: [rrd-users] GSoC 2014 - an R package for working with RRD files

Hello,

I spent the past few months implementing an R package that makes it possible to directly import and work with RRD 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!

Thanks,
Plamen

Loading...