I am working with timeseries with millions of points. I normally plot this data with
plot(x,type='l')
Things slow down terribly if I accidentally type
plot(x)
because the default is type='p'
Is there any way using setHook()
or something else to modify the default plot(type=...)
during an R session?
I see from How to set a color by default in R for all plot.default, plot or lines calls that this can be done for par()
parameters like 'col'. But there doesn't appear to be any points-vs-line setting in par()
.