directlabels (version 2020.1.31)

extract.plot: Extract plot and definition for documentation

Description

Given an R code file, execute it, store the definition, and save the resulting plot in a variable.

Usage

extract.plot(f)

Arguments

f

R code file with plot example.