I have a script shiny.R
a<-1
server(source(script.R))
Then I have
script.R
print(a)
it doesn't work because he doesn't know "a", how to correct this?
Use source(script.R, local = TRUE)
1 Like
I have a script shiny.R
a<-1
server(source(script.R))
Then I have
script.R
print(a)
it doesn't work because he doesn't know "a", how to correct this?
Use source(script.R, local = TRUE)