Collect meta-data from scripts written in the R programming language.
| Branch |Status | |-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | master | | | development | |
Install directly from github using devtools:
library(devtools)
install_github("ProvTools/ProvR")
Once installed a libraried, you can now easily collect provenance from any script:
library(ProvR)
prov.capture("example.R")
The provenance will be stored in memory as a JSON formatted string following the W3C PROV-JSON standard format , which can be accessed like so:
prov.json()
You can write the provenance to your hard drive by doing the following:
prov.capture("example.R", save = TRUE)
ProvR is a simplified fork of the RDataTracker
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.