Shinydashboard problem

Hello, i`m new in this.

I run the following command line in R Studio but I don't see the dashboard

install.packages("shinydashboard")
install.packages("shiny")

library(shinydashboard)
library(shiny)

ui <- dashboardPage(
dashboardHeader(),
dashboardSidebar(),
dashboardBody())

server <- function(input, output) { }
shinyApp(ui, server)

I use R Studio and Windows 10. But it seems that R is trying to open the dashboard since a red circle appears on the console, but it does not open anything

Thanks for your help!

Regards

Maybe it is serving the app but the windows is not popping up. You can copy the URL (something like http://127.0.0.1:6406 printed on the console output) and see of you can open the app in the browser.

With runApp() you'll have more control over how the app is launched (see launch.browser and display.mode arguments:

app <- shinyApp(ui, server)
runApp(app)

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.