poissonconsulting / subfoldr2

An R package to facilitate saving and loading objects, data, plots, numbers and strings
https://poissonconsulting.github.io/subfoldr2/
Other
2 stars 0 forks source link

set plot printing global option #101

Closed sebdalgarno closed 3 weeks ago

sebdalgarno commented 1 month ago

running into R crash errors during sbf_open_window() / sbf_print() can set global option in header to indicate whether to skip printing plots similar to set_analysis_mode()

name? set_plot_print_mode()?

sebdalgarno commented 1 month ago

or maybe sbf_print_plots() with TRUE/FALSE as only input options

joethorley commented 1 month ago

Nice - that works for me.

sebdalgarno commented 1 month ago

actually much simpler to follow the precedent of sbf.ask, i.e. setting in header.R

options(sbf.plot = FALSE)
joethorley commented 1 month ago

Perfect - @sebdalgarno do you have time to implement?