Set the default data set for a plot object
setdata(p = .PLOT, data)
p
data
Hadley Wickham <h.wickham@gmail.com>