SweaveListingUtils (version 0.4.4)

SweaveListingOptions: Function to change the global options of the package `SweaveListingUtils'

Description

With SweaveListingOptions you can inspect and change the global variables of the package SweaveListingUtils.

Usage

SweaveListingOptions(...)
SweaveListingoptions(...)
getSweaveListingOption(x)

Arguments

...
any options can be defined, using name = value or by passing a list of such tagged values.
x
a character string holding an option name.

Value

  • SweaveListingOptions() returns a list of the global variables. SweaveListingOptions(x) returns the global variable x. getSweaveListingOption(x) returns the global variable x. SweaveListingOptions(x=y) sets the value of the global variable x to y.

SweaveListingoptions

For compatibility with spelling in package distr, SweaveListingoptions is just a synonym to SweaveListingOptions.

concept

  • global options
  • options

See Also

options, getOption

Examples

Run this code
SweaveListingOptions()
SweaveListingOptions("Rout")
SweaveListingOptions("Rout" = c(0,0,0))
# or
SweaveListingOptions(Rout = c(0,1,0))
getSweaveListingOption("Rout")

Run the code above in your browser using DataCamp Workspace