Learn R Programming

Tmisc (version 1.0.1)

dokuwiki: 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

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

Run the code above in your browser using DataLab