Learn R Programming

ascii (version 2.6)

RweaveOrg: A driver to parse org noweb files with Sweave tool This driver parses org files containing R code and replace pieces of code with their output.

Description

A driver to parse org noweb files with Sweave tool This driver parses org files containing R code and replace pieces of code with their output.

RweaveOrgSetup

weaverOrgSetup

weaverOrg

Usage

RweaveOrg()

RweaveOrgSetup( file, syntax, output = NULL, quiet = FALSE, debug = FALSE, extension = "org", backend = "org-mode", openSchunk = "#+BEGIN_example", closeSchunk = "\n#+END_example\n", openSinput = "", closeSinput = "", openSoutput = "\n", closeSoutput = "", indent = "", openInclude = "#+INCLUDE: \"", closeInclude = ".org\"", openFig = "[[file:", closeFig = "]]", ... )

weaverOrgSetup( file, syntax, output = NULL, quiet = FALSE, debug = FALSE, extension = "org", backend = "org-mode", openSchunk = "#+BEGIN_example", closeSchunk = "\n#+END_example\n", openSinput = "", closeSinput = "", openSoutput = "\n", closeSoutput = "", indent = "", openInclude = "#+INCLUDE: \"", closeInclude = ".org\"", openFig = "[[file:", closeFig = "]]", use.cache = TRUE, ... )

weaverOrg()

Value

None value is returned. From a .Rnw noweb file, the corresponding .org is produced (as eventuals files for graphs).

Arguments

file

file

syntax

syntax

output

output

quiet

quite

debug

debug

...

...

use.cache

use.cache

Author

David Hajage dhajage@gmail.com

See Also

Sweave, Org

Examples

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

Run the code above in your browser using DataLab