Commit 03692206 authored by Holger Brandl's avatar Holger Brandl

install data.table in table_browser

parent 44455792
......@@ -582,6 +582,7 @@ all_unique = function(elements) length(unique(elements)) == length(elements)
### table rendering
table_browser <- function(df, caption=deparse(substitute(df)), ...){
install_package("data.table")
datatable(df, filter = "bottom", extensions = 'Buttons', options = list(dom = 'Bfrtip', buttons = c('copy', 'csv', 'excel')), caption = caption, ...)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment