maxima.options {rim}R Documentation

maxima.options

Description

Function for globally setting and retrieving options.

Usage

maxima.options(
  ...,
  RESET = FALSE,
  READ.ONLY = NULL,
  LOCAL = FALSE,
  ADD = FALSE
)

Arguments

...

options to be accessed by using name = value. Options can be added by setting ADD = TRUE, but only those mentioned below will be used my rim.

RESET

logical of length 1, whether to reset all options to default values.

READ.ONLY

logical of length 1, can be used to output all options that are read-only.

LOCAL

logical of length 1, to output all options that are defined locally.

ADD

logical of length 1, whether to add the specified option in ... (TRUE), default is FALSE.

Details

format:

character vector of length 1 setting the output format for maxima.get(). Can be one of "linear", "ascii", "latex" or "mathml".

engine.format:

same as option format, but for outputs in RMarkdown documents.

inline.format:

character string setting the output format for maxima.inline(), for knitting outputs inline into RMarkdown documents. Can be one of "linear", "latex" or "mathml", but not "ascii".

label:

logical of length 1, whether reference labels should be printed for returned S3 objects from maxima.get() (TRUE, default), or not (FALSE). This also applies to printing of input commands using iprint().

engine.label:

same as label, but for outputs in RMarkdown documents.

inline.label:

same as label, but for inline outputs in RMarkdown documents.

Examples

maxima.options(format = "latex")
maxima.options(label = FALSE)
maxima.options(label = TRUE, format = "ascii")
# reset to default
maxima.options(label = TRUE, format = "linear")

[Package rim version 0.6.4 Index]