Lazy loading Plots in Shiny based on Tab selected

I have several plots on different tabs. Is there any way to generate them on the server just when a user go to that specific tab?

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.