Provenance Visualizer

Displays provenance graphically for provenance collected by the 'rdt' or 'rdtLite' packages, or other tools providing compatible PROV JSON output. The exact format of the JSON created by 'rdt' and 'rdtLite' is described in <>. More information about rdtLite and associated tools is available at <> and Barbara Lerner, Emery Boose, and Luis Perez (2018), Using Introspection to Collect Provenance in R, Informatics, .

provViz is a simple tool that allows the user to visualize a provenance graph collected by rdt or rdtLite using DDG Explorer. For information on how to use DDG Explorer, please see the DDG Explorer README.

If you have collected provenance in this R session using rdt or rdtLite, you can view the provenance from the last execution using prov.visualize:


To run a script and view its provenance, call the prov.visualize function:

prov.visualize (r.script.path = NULL, tool = "rdtLite")

If you already have provenance stored in a file, call the prov.visualize.saved function:

prov.visualize.saved (prov.file)

r.script.path - The path to an R script. This script will be executed with provenance captured by rdt or rdtLite. If r.script.path is NULL, the last provenance graph captured will be displayed.

tool - which tool to use to capture proveannce. Possible values are "rdtLite" or "rdt".

prov.file - The name of a file containing provenance.

Known problems

If the user calls this with NULL for r.script.path but no provenance has been captured yet in the session, there is a json string returned but it is not valid.


provViz v1.0.3 (Release date: 2018-12-14)


  • Incorporates version of DDG Explorer that no longer supports storing provenance graphs in a database

provViz v1.0.2 (Release date: 2018-12-04)


  • Added prov.visualize.file
  • Fixed sorting by execution time
  • Changed Compare DDG command to work with provenance stored in JSON.

provViz v1.0.1 (Release date: 2018-09-06)


  • Added support for R's graphics device nodes

Reference manual

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


1.0.6 by Barbara Lerner, 10 months ago

Report a bug at

Browse source code at

Authors: Emery Boose [ctb] , Barbara Lerner [aut, cre] , Sofiya Taskova [aut] , Miruna Oprescu [aut] , Nikki Hoffler [aut] , Marios Dardas [aut] , Elizabeth Fong [ctb] , Thomas Pasquier [ctb] , Matthew Lau [ctb] , Aaron Ellison [res] , Margo Seltzer [res]

Documentation:   PDF Manual  

GPL-3 | file LICENSE license

Suggests rdt, rdtLite

Imported by rdtLite.

See at CRAN