Shiny ui.R - Error in tag(“div”, list(…)) - not sure where error is

前端 未结 1 1630
别跟我提以往
别跟我提以往 2020-12-18 19:14

Update - 12/17/2012 9am CDT: example has been updated with demo data and full code. [/update].

Example Data: https

相关标签:
1条回答
  • 2020-12-18 19:41

    In ui.R, you should not have a comma at the end of this line:

    sliderInput("age_cut", "Select Size of Age Brackets:",
                min= 3, max= 20, value= 5),
    

    There also shouldn't be a comma at the end of this line

    checkboxInput(inputId = "h_own",       label = "Homeownership",         value = FALSE),
    

    In general, you shouldn't have a comma after the last component of a section. Just like with any R function, you don't usually end the function call with a comma. e.g. sum(5,) gives an error.

    0 讨论(0)
提交回复
热议问题