官术网_书友最值得收藏!

The finished interface

The other element that goes in mainPanel() is an area to handle reactive text that is generated within the server.R file—that is, a call to textOutput() with the name of the output as defined in server.R—in this case, textDisplay.

The finished interface looks similar to the following screenshot:

If you're getting a little bit lost, don't worry. Basically, Shiny is just setting up a framework of named input and output elements; the input elements are defined in ui.R and processed by server.R, which then sends them back to ui.R, which knows where they all go and what types of output they are.

主站蜘蛛池模板: 开鲁县| 盱眙县| 达拉特旗| 台湾省| 米泉市| 桦甸市| 阳泉市| 中卫市| 富源县| 揭西县| 桂林市| 正镶白旗| 霍州市| 思南县| 九寨沟县| 枝江市| 湟源县| 牟定县| 广昌县| 厦门市| 布尔津县| 资溪县| 丁青县| 肥乡县| 周宁县| 甘德县| 宁德市| 会泽县| 师宗县| 区。| 新巴尔虎右旗| 平定县| 璧山县| 昂仁县| 岐山县| 申扎县| 泸溪县| 博爱县| 福鼎市| 双城市| 呈贡县|