Error saying "ERROR: unused argument (menuItem("Amazon-web-service"))"

0 votes
I'm trying to create a dashboard using shiny R and I'm ending up with this error:

ERROR: unused argument (menuItem("Amazon-web-service"))

code:

shinyUI(
  dashboardPage(
    dashboardHeader(title="My First Dashboard"),
    dashboardSidebar(),
    dashboardBody(),
    menuItem("Devops"),
    menuItem("Blockchain"),
    menuItem("Amazon-web-service")
  )
)
Nov 28, 2018 in Data Analytics by Ali
• 10,430 points
63 views

1 answer to this question.

0 votes
This error usually means you're screwing the commas or braces somewhere in the code. In your case, menuItems function comes under dashboardSidebar function.
answered Nov 28, 2018 by Maverick
• 10,040 points

Related Questions In Data Analytics

0 votes
1 answer

Error saying "Error in rnorm() : argument "n" is missing, with no default" in R

Hey @ali, rnorm() function requires an argument, ...READ MORE

answered Oct 30, 2018 in Data Analytics by Maverick
• 10,040 points
203 views
0 votes
1 answer

Error saying "Error in x$children[[1]] : subscript out of bounds" while web scrapping

You could try the httr library: library(XML) library(httr) url <- 'http://www.sainsburys.co.uk/shop/gb/groceries/fruit-veg/all-fruit#langId=44&storeId=10151&catalogId=10122&categoryId=12545&parent_category_rn=12518&top_category=12518&pageSize=30&orderBy=FAVOURITES_FIRST&searchTerm' doc <- ...READ MORE

answered Nov 9, 2018 in Data Analytics by Maverick
• 10,040 points
153 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
392 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
225 views
0 votes
1 answer

Error saying " ERROR: unused argument (InformationCriterion = InformationCriterion[j]) "

Brief invoke REBMIX as : REBMIX[[i, j, k]] ...READ MORE

answered Nov 9, 2018 in Data Analytics by Maverick
• 10,040 points
35 views
0 votes
1 answer

Error saying "Error in lag(x, 1) : unused argument (1)"

lag only works as expected with time-series ...READ MORE

answered Nov 16, 2018 in Data Analytics by Maverick
• 10,040 points
74 views