maxima.options: maxima.options

View source: R/options.R

maxima.optionsR 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")

rim documentation built on Aug. 24, 2023, 5:09 p.m.