Lazy loading Plots in Shiny based on Tab selected

Hi! Welcome!

Are you sure what you want isn’t happening already? The default for outputs is to suspend execution when they are hidden on the web page. See the outputOptions() documentation for more info on how to control this.

If that doesn’t help, I think making a small reproducible example will be important for sorting out the particulars of your situation.