Skip to content

Commit

Permalink
added instructions for shiny in tableHTML
Browse files Browse the repository at this point in the history
  • Loading branch information
LyzandeR committed Jul 15, 2016
1 parent 8a62661 commit f9eb3b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/tableHTML.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
#' with the print.tableHTML method if using Rstudio otherwise it will use the default
#' browser. Use \code{print(tableHTML(obj), viewer = FALSE)} or \code{str(tableHTML(obj))}
#' to view the actual html code.
#'
#' In order to use tableHTML with shiny you can use the functions renderUI (in server.R) and
#' uiOutput (in ui.R) directly, since the tableHTML is an HTML object.
#'
#' @param obj Needs to be a data.frame or a matrix or an arbitrary object that has the
#' data.frame class and can be coersible to a data.frame (e.g data.table, tbl, etc.)
Expand Down
3 changes: 3 additions & 0 deletions man/tableHTML.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f9eb3b9

Please sign in to comment.