Please mention you need to source("global.R") from server.R and ui.R

R and Shiny newbie here.

I was confused by the documentation at

Please put some text in the section titled "Global objects" something to the effect of:

"When including a file global.R, be sure to include the code

source("global.R")

at the start of both the server.R and the client.R file. The name global.R is the standard name, but you could use any name here(???)"

I didn't understand this until I came across this Stack Overflow answer:

Thank you!

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.