I’m trying to create a dashboard using shiny R. this is my ui.R and server.R files
Ui.R
library(shiny)
library(shinydashboard)
shinyUI(
dashboardPage(
dashboardHeader(title="Edureka"),
dashboardSidebar(
menuItem("sales Dashboard"),
menuSubItem("DevOps"),
menuSubItem("Blockchain"),
menuSubItem("AWS"),
menuItem("Finance Dashboard")),
dashboardBody(
fluidRow(
box(plotOutput("$histogram"))
)
)
)
)
Server.R
library(shiny)
library(shinydashboard)
shinyServer(function(input,output){
output`$histogram` <- renderPlot({
hist(faithful$eruptions)
})
})
I end up with this error:
shinyServer(function(input,output){
output`$histogram`