mirror of
https://github.com/rstudio/shiny.git
synced 2026-01-30 17:28:32 -05:00
36 lines
979 B
R
36 lines
979 B
R
\name{renderTable}
|
|
\alias{renderTable}
|
|
\title{Table Output}
|
|
\usage{
|
|
renderTable(expr, ..., env = parent.frame(),
|
|
quoted = FALSE, func = NULL)
|
|
}
|
|
\arguments{
|
|
\item{expr}{An expression that returns an R object that
|
|
can be used with \code{\link[xtable]{xtable}}.}
|
|
|
|
\item{...}{Arguments to be passed through to
|
|
\code{\link[xtable]{xtable}} and
|
|
\code{\link[xtable]{print.xtable}}.}
|
|
|
|
\item{env}{The environment in which to evaluate
|
|
\code{expr}.}
|
|
|
|
\item{quoted}{Is \code{expr} a quoted expression (with
|
|
\code{quote()})? This is useful if you want to save an
|
|
expression in a variable.}
|
|
|
|
\item{func}{A function that returns an R object that can
|
|
be used with \code{\link[xtable]{xtable}} (deprecated;
|
|
use \code{expr} instead).}
|
|
}
|
|
\description{
|
|
Creates a reactive table that is suitable for assigning
|
|
to an \code{output} slot.
|
|
}
|
|
\details{
|
|
The corresponding HTML output tag should be \code{div}
|
|
and have the CSS class name \code{shiny-html-output}.
|
|
}
|
|
|