0
大小和具體的佈局,我試圖讓閃亮的佈局如下: 如何設置閃亮
這就是我所說的這個answer的幫助迄今取得:
我的UI .R:
library(shiny)
library(ggplot2)
shinyUI(fluidPage(
# fluidRow(
# title = "My title",
# column(6,plotOutput('plot1', height="200px"))
# #plotOutput('plot1'),
# #plotOutput('plot2'),
# #plotOutput('plot3')
#),
fluidRow(
column(6,div(style = "height:200px;background-color: gray;", "Topleft")),
column(6,div(style = "height:400px;background-color: gray;", "right"))),
fluidRow(
column(6,div(style = "height:100px;background-color: gray;", "Bottomleft"))
),
hr(),
fluidRow(
column(7,
h4("Control Panel"),
fileInput('file', 'Select an CSV file to read',
accept=c('text/csv','text/comma-separated- values,text/plain','.csv')),
br(),
sliderInput('sampleSize', 'Sample Size',
min=1, max=100, value=min(1, 100),
step=500, round=0),
br(),
actionButton("readButton", "Read Data!")
)
)
))
我server.R:
function(input, output) {
}
我不知道如何將它插入盒子中?plotOutput
? 如何控制箱子的尺寸,使其看起來像上面給出的佈局?
能否請您提示如何添加積3旁邊有一個形象呢?我經歷了不同的設置,最終我在劇情3下得到了一張圖片! – owise