1
我想用两个numericInputs(一个& b)创建一个输入面板。 numericInput b的最大值需要来自numericInput a的值。
---
title: "test input"
runtime: shiny
output: html_document
---
```{r, echo = FALSE}
inputPanel(
numericInput("a", "A", 80,
min = 1, max = 100),
numericInput("b", "B", 15,
min = 1, max = input$a)
)
```
这给了错误:
Operation not allowed without an active reactive context.