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 29, 2018 in Data Analytics by Ali
• 10,430 points
278 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 29, 2018 by Maverick
• 10,040 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 29, 2018 in Data Analytics by Maverick
• 10,040 points
52 views
+3 votes
3 answers
0 votes
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 13, 2018 in Data Analytics by darklord
• 6,140 points
138 views
0 votes
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,040 points
393 views
0 votes
1 answer

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

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

answered Nov 28, 2018 in Data Analytics by Maverick
• 10,040 points
227 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 29, 2018 in Data Analytics by Maverick
• 10,040 points
86 views
0 votes
1 answer