闪亮的输入:你如何制作多线标签?

时间:2016-06-27 04:03:08

标签: r shiny

有时候我希望为我闪亮的xxxInput选项设置长标签。以此单选按钮为例,该按钮选择时间方向以对到达机场的飞机数据集进行子集化。我想在标签中包含对选项的简短解释。但是,天真地包括\n似乎无法使标签成为多线。

radioButtons(inputId = "dir",
                          label = "Choose direction to look for plane arrivals: 
                              \nafter selected time, 
                              \nbefore selected time, 
                              \nor both.",
                          choices = c("after", "before", "both"),
                          inline = T,
                          selected = "both")

0 个答案:

没有答案