Does shiny modules have an overhead


#1

Which one would be faster

  1. A single app using 3 data frames to create input widgets and dashboard

Or

  1. A app broken down into 5 or 6 modules and one app file. Each dependent on same 3 data frames that are interlinked and passing them to and forth to one another.

Does it create the data again when I use a callmodule to save the data. And other questions like that..


#2

No, the memory and runtime overhead should both be insignificant. Similar to breaking one big function into four smaller functions in regular R code.


#3

Thanks for the reply I thought I am creating for 5 ot 6 copies of each dataframe on a different namespace everytime I create a module.

It means it is just one dataframe moving around in functions without any overhead Right???