joshuaulrich / xts

Extensible time series class that provides uniform handling of many R time series classes by extending zoo.
http://joshuaulrich.github.io/xts/
GNU General Public License v2.0
219 stars 71 forks source link

Add message if plotting small multiples will open many devices #200

Open joshuaulrich opened 7 years ago

joshuaulrich commented 7 years ago

Invoking the "small multiples" behavior in plot.xts() could open many devices. This isn't an issue in RStudio, because they will all be opened in the plotting pane. On most consoles, multiple graphics devices will be opened.

Prompt the user with a message and wait for input if the number of graphics devices to be opened exceeds a threshold (>5?).