R/repr_datatable.r

Defines functions repr_latex.data.table repr_text.data.table repr_html.data.table

Documented in repr_html.data.table repr_latex.data.table repr_text.data.table

#' Representation of data.table objects
#' 
#' @param obj  The list to create a representation for
#' @param ...  ignored
#' 
#' @name repr_*.data.table
#' @export
repr_html.data.table <- function(obj, ...) {
	if (data.table::shouldPrint(obj))
		NextMethod()
}

#' @name repr_*.data.table
#' @export
repr_text.data.table <- function(obj, ...) {
	if (data.table::shouldPrint(obj))
		NextMethod()
}

#' @name repr_*.data.table
#' @export
repr_latex.data.table <- function(obj, ...) {
	if (data.table::shouldPrint(obj))
		NextMethod()
}

Try the repr package in your browser

Any scripts or data that you put into this service are public.

repr documentation built on Feb. 16, 2023, 6:57 p.m.