dokuwiki: Create tables in dokuwiki format

View source: R/utils-tables.R

dokuwikiR Documentation

Create tables in dokuwiki format

Description

Prints the supplied data frame or matrix using Dokuwiki's table syntax, optionally copying the data to the clipboard (Mac OS X only).

Usage

dokuwiki(x, headersep = "^", sep = "|", clip = TRUE, ...)

Arguments

x

A data.frame.

headersep

The separator used between entries in the header row.

sep

The separator used between entries in all other rows.

clip

Whether or not to write the returned table to the clipboard (currently only supported on Mac OS X).

...

Further arguments passed to write.table.

Examples

dokuwiki(head(iris), clip=FALSE)
dokuwiki(head(mtcars), clip=FALSE, row.names=TRUE)


Tmisc documentation built on Aug. 23, 2023, 1:07 a.m.