print.ascii {ascii} | R Documentation |
Function displaying the asciiDoc, txt2tags, sphinx or org code associated with the supplied object of class ascii
.
print.ascii(x, type = getOption("asciiType"), file = NULL, append = FALSE, ...)
x |
An object of class "ascii" |
type |
Type of syntax produce. Possible values for type
are "asciidoc" , "t2t" , "sphinx" or "org" .
Default value produce asciiDoc syntax. |
file |
A character string naming the file to print to. Default is NULL (print to the console). |
append |
If TRUE , code will be appended to file instead of overwriting it. Default value is FALSE |
... |
Additional arguments. (Currently ignored.) |
The package provides the new global option asciiType
. Default value is "asciidoc"
(see examples).
David Hajage dhajage@gmail.com
data(esoph) ascii(esoph[1:10,]) print(ascii(esoph[1:10,]), type = "t2t") print(ascii(esoph[1:10,]), type = "sphinx") print(ascii(esoph[1:10,]), type = "org") options(asciiType = "sphinx") ascii(esoph[1:10,]) options(asciiType = "asciidoc")