我想首先修改一个基本的闪亮示例应用程序的一些组件,但我不断收到此错误:
ERROR: unused arguments (fluidRow(column(4, tags$hr(),
verbatimTextOutput("out1"), selectInput("in1", "Options", choices =
state.name, multiple = TRUE, selectize = FALSE))), fluidRow(column(4,
tags$hr(), verbatimTextOutput("out2"), selectInput("in2", "Options",
choices = state.name, multiple = TRUE, selectize = FALSE))))
Run Code Online (Sandbox Code Playgroud)
这是我的代码:
library(shiny)
library(shinythemes)
shinyUI(fluidPage(theme=shinytheme("flatly"),
#Application Title
headerPanel("States"),
br(),
fluidRow(
column(4,
tags$h4("Choose One or Multiple States"))
)),
fluidRow(
column(4,
tags$hr(),
verbatimTextOutput('out1'),
selectInput('in1', 'Options', choices = state.name, multiple = TRUE, selectize = FALSE)
)
),
fluidRow(
column(4,
tags$hr(),
verbatimTextOutput('out2'),
selectInput('in2', 'Options', choices= state.name, multiple = TRUE, selectize = FALSE)) …Run Code Online (Sandbox Code Playgroud)