Merge pull request #106 from Swechhya/input-object-initial-update Update input object on render
Merge pull request #106 from Swechhya/input-object-initial-update
Update input object on render
An R interface to jExcel library to create web-based interactive tables and spreadsheets compatible with ‘Excel’ or any other spreadsheet software.
To install the stable CRAN version:
install.packages('excelR')
To install the latest development version from GitHub:
library(devtools) install_github('Swechhya/excelR')
library(excelR) data = data.frame(Model = c('Mazda', 'Pegeout', 'Honda Fit', 'Honda CRV'), Date=c('2006-01-01', '2005-01-01','2004-01-01', '2003-01-01' ), Availability = c(TRUE, FALSE, TRUE, TRUE)) columns = data.frame(title=c('Model', 'Date', 'Availability'), width= c(300, 300, 300), type=c('text', 'calendar', 'checkbox')) excelTable(data=data, columns = columns)
This package can be used in shiny
shiny
library(shiny) library(excelR) shinyApp( ui = fluidPage(excelOutput("table")), server = function(input, output, session) { output$table <- renderExcel(excelTable(data = head(iris))) } )
一个用于在R中创建交互式Excel表格的包
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
excelR
An R interface to jExcel library to create web-based interactive tables and spreadsheets compatible with ‘Excel’ or any other spreadsheet software.
Installation
To install the stable CRAN version:
To install the latest development version from GitHub:
Simple example
This package can be used in
shinyFeatures: