Skip to main content

R Table

Component for rendering a R data frame or matrix in a tabular display.

Options

  • code | string: R code returning a data.frame containing the data to be displayed in the table. Default: ''.
  • libraries | array: R libraries that should be loaded automatically when the input code is executed. Default: [].
  • prependCode | (string|array): R code string (or array of R code blocks) to be prepended to the code stored in code when evaluating. Default: ''.
  • style | object: CSS inline styles. Default: {}.

Examples

Live Editor
Result
ReferenceError: Provider is not defined