Error saying ERROR Expected tag to be of type header while creating a dashboard using shiny R

0 votes

I'm trying to create a dashboard using shiny R. I;m ending up with this error:

ERROR: Expected tag to be of type header
code:
shinyUI(
  dashboardPage(
    sliderInput("bins","number of breaks",1,100,50),
    dashboardHeader(title="Edureka"),
    dashboardSidebar(
    menuItem("sales Dashboard"),
    menuSubItem("DevOps"),
    menuSubItem("Blockchain"),
    menuSubItem("AWS"),
    menuItem("Finance Dashboard")),
    dashboardBody(
      fluidRow(
        box(plotOutput("$histogram")),
        box(sliderInput("bins","number of breaks",1,100,50))
      )
    )
    )
  )
Nov 30, 2018 in Data Analytics by Ali
• 11,360 points
4,081 views

1 answer to this question.

0 votes
sliderInput("bins","number of breaks",1,100,50),

this line should come under dashboardSidebar function.
answered Nov 30, 2018 by Maverick
• 10,840 points

Related Questions In Data Analytics

+5 votes
0 answers
0 votes
1 answer

How do I add Icons to my messages on my dashboard which I’m creating using shiny r?

Try something like this: dashboardHeader(title="Edureka", dropdownMenu type = "message", messageItem(from = ...READ MORE

answered Nov 30, 2018 in Data Analytics by Maverick
• 10,840 points
667 views
+4 votes
3 answers
+1 vote
1 answer

How to convert a list of dataframes in to a single dataframe using R?

You can use the plyr function: data <- ...READ MORE

answered Apr 14, 2018 in Data Analytics by Sahiti
• 6,370 points
6,282 views
+1 vote
1 answer

Error saying "could not find function "shinyUI"" in shiny R

Its a small spelling mistake that you've ...READ MORE

answered Nov 28, 2018 in Data Analytics by Maverick
• 10,840 points
2,318 views
+1 vote
1 answer

Error saying "could not find function dashboardPage" in shiny R

Include this line in the code: Library(shinydashboard) READ MORE

answered Nov 29, 2018 in Data Analytics by Maverick
• 10,840 points
3,118 views
0 votes
1 answer

Error saying 'shinyServer(function(input,output){ output`$histogram`" while creating dashboard using shiny R

Try this for your server.R library(shiny) library(shinydashboard) shinyServer(function(input,output){ output$`$histogram`<- ...READ MORE

answered Nov 30, 2018 in Data Analytics by Maverick
• 10,840 points
1,158 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP