There are scoping rules in Shiny.
I know the variables defined in Global.R will be stored in the memory and shared for all sessions/servers once R shiny app is running. For example, pulling data from SQL or reading data from csv file could be done in Global.R once, then being shared by all shiny sessions/servers.
I am just wondering what are the similar settings like Global.R for R markdown. I am using some shiny elements in R markdown report, and would like to have every users of the Rmarkdown report use the same data stored in the memory instead of reading the same data into the memory individually.