Const
curve(f, add = TRUE) with no device open warns and starts a new plot instead
curve(f, add = TRUE)
curve(f, add = TRUE)with no device open warns and starts a new plot instead