R Table

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

Example:

<RTable
    code={`data <- matrix( runif(16), nrow=4, ncol=4)
data`}
/>

Open interactive preview

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: ''.
  • width | number: width (between 0 and 1). Default: 0.5.

results matching ""

    No results matching ""