Learn R Programming

ascii (version 2.6)

Asciidoc: Sweave wrappers

Description

Sweave wrappers

Usage

Asciidoc(
  file,
  driver = RweaveAsciidoc,
  syntax = SweaveSyntaxNoweb,
  encoding = "",
  ...
)

T2t(file, driver = RweaveT2t, syntax = SweaveSyntaxNoweb, encoding = "", ...)

ReST(file, driver = RweaveReST, syntax = SweaveSyntaxNoweb, encoding = "", ...)

Org(file, driver = RweaveOrg, syntax = SweaveSyntaxNoweb, encoding = "", ...)

Textile( file, driver = RweaveTextile, syntax = SweaveSyntaxNoweb, encoding = "", ... )

Pandoc( file, driver = RweavePandoc, syntax = SweaveSyntaxNoweb, encoding = "", ... )

Arguments

file

Name of Sweave source file.

driver

Sweave driver

syntax

Sweave syntax

encoding

Encoding

...

Further arguments passed to the driver's setup function.

Author

David Hajage dhajage@gmail.com

See Also

Examples

Run this code
if (FALSE) {
testfile <- system.file("examples", "Org-test-1.nw", package = "ascii")

## enforce par(ask = FALSE)
options(device.ask.default = FALSE)

## create an org file - in the current working directory, getwd():
Org(testfile)
Org(testfile, driver=weaverOrg)

## This can be edited in and exported from Org Mode
}

Run the code above in your browser using DataLab