knit print polars DataFrame
Description
Mimics Python Polars’ NotebookFormatter for HTML outputs.
Usage
## S3 method for class 'RPolarsDataFrame'
knit_print(x, ...)
Arguments
x
|
a polars DataFrame to knit_print |
…
|
additional arguments, not used |
Details
Outputs HTML tables if the output format is HTML and the document’s
df_print option is not “default” or
“tibble”.
Or, the output format can be enforced with R’s options
function as follows:
-
options(polars.df_knitr_print = “default”)for the default print method. -
options(polars.df_knitr_print = “html”)for the HTML table.
Value
invisible x or NULL