【发布时间】:2017-09-28 17:53:04
【问题描述】:
我正在尝试在我闪亮的应用程序中打开一个弹出窗口,以便我可以在弹出窗口中绘制我的图表。所有的操作按钮都应该在点击时打开一个弹出窗口。
ui.r
library(shiny)
shinyUI(fluidPage(
fluidRow(align="center",
column(8, align="center", offset = 2,
textInput("prod_code", label=h3("ANALYTICS"), value = ""),
tags$style(type="text/css", "#string { height: 50; width: 100%; text-align:center; font-size: 30;}"),
tags$style(type="text/css", "#plot1_dl { width:100; vertical-align:50%}"),
actionButton("Twitter_Sentiment_analysis","Twitter Sentiment analysis"),
actionButton("Twitter_wordcloud","Twitter WordCloud"),
actionButton("Twitter_Heatmap","Twitter Heatmap"),
actionButton("Ecommerce_Sentiment","Ecommerce Sentiment"),
actionButton("Ecommerce_Reviews","Ecommerce Reviews"),
textOutput("userenteredquery")
)
)
)
)
【问题讨论】: