R/d3Plot.R

d3Plot =
  #
  # An atomic version that allows us to 
  # draw a plot with one or more expressions
  # 
function(expr, file = character(), ...)
{
  dev = d3Device( file = file, ...)
  on.exit(dev.off())
  
  expr
  
  invisible(dev)
}
duncantl/RD3Device documentation built on May 15, 2019, 5:28 p.m.