I need help, I'm trying to learn shiny and I have following problem: I don't recieve any stack trace at all. Even if I'm replicating the example from the book:
https://mastering-shiny.org/action-workflow.html#tracebacks-in-shiny
My Shiny code from the book just to test the stack trace:
library(shiny)
h <- function(x) x * 2
ui <- fluidPage(
selectInput("n", "N", 1:10),
plotOutput("plot")
)
server <- function(input, output, session) {
output$plot <- renderPlot({
n <- h(input$n)
plot(head(cars, n))
}, res = 96)
}
shinyApp(ui, server)
The information I'm receiving is:
Listening on http://127.0.0.1:7840
Warning: Error in *: non-numeric argument to binary operator
[No stack trace available]
R studio Server is Running on: 10.4.1.252:8787
My guess would be something connected with Shiny is listening on the local IP address (127.0.0.1) and App is running on the remote server and I need to be connected to VPN to connect with that machine (and with the RStudio Server itself)