datatable - 如何从网络而不是这个数据表呈现表格?
问题描述
我通过此链接https://www.dropbox.com/s/k94brqtrp5thch3/005.txt?dl=0将一个太大的表格存储在投递箱中;我需要以下面的代码显示虹膜数据的方式访问此表。我的意思是如何在这段代码中读取我的大 .txt 文件而不是 Iris?
ui <- dashboardPage(
dashboardHeader(),
dashboardSidebar(),
dashboardBody(
fluidRow(
tabBox(width = 12, height = NULL,
tabPanel("Data", value=2,
fluidRow(
column(width = 4, box(title = "Iris", width = NULL, solidHeader = FALSE, dataTableOutput("dat1")))
)
)
)
)))
server <- function(input, output) {
output$dat1 <- renderDataTable({datatable(iris)})
}
shinyApp(ui, server)
解决方案
推荐阅读
- latex - 使用 esttab/estout 跨 LaTeX 表的多列统计信息
- python - Python SQL插入失败
- node.js - 如何在代码中使用引号解析搜索查询
- angular - 离子应用程序显示 InvalidValueError 不是数字
- r - 对由 R 中的相同标志标识的时间序列值组进行单独操作
- xamarin.forms - ReactiveUI.XamForms Visual Studio 项目模板
- javascript - 从样式显示不是无的地方获取属性值
- php - 在关系内部使用 JOIN
- javascript - 无法理解 ElectronJS 中 webContents 中的`sendInputEvent`
- python-3.x - Python Dict 排序问题