paged_table | R Documentation |
Create a table in HTML with support for paging rows and columns
paged_table(x, options = NULL)
x |
a data frame to be rendered as a paged table. |
options |
options for printing the paged table. See details for specifics. |
Below are the recognized table pagination options.
Option | Description | Default |
max.print | The number of rows to print. | 1000 |
sql.max.print | The number of rows to print from a SQL data table. | 1000 |
rows.print | The number of rows to display. | 10 |
cols.print | The number of columns to display. | 10 |
cols.min.print | The minimum number of columns to display. | - |
pages.print | The number of pages to display under page navigation. | - |
paged.print | When set to FALSE turns off paged tables. | TRUE |
rownames.print | When set to FALSE turns off row names. | TRUE |
Note: There is a hard cap of 10,000 rows to ensure that pandoc will not fail when rendering the document.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.