wm_opts_defaults: WebmorphR default options

View source: R/wm_opts.R

wm_opts_defaultsR Documentation

WebmorphR default options

Description

Options set on load (unless they were already set by .Renviron)

  • overwrite ("ask"): Whether to overwrite images saved with write_stim() when in interactive mode; possible values are "ask" (ask if filenames exist), TRUE (always overwrite), and FALSE (never overwrite)

  • fill ("white"): the colour to use to fill image backgrounds

  • pt.color ("green") : the colour to use for points in draw_tem()

  • line.color ("blue"): the colour to use for lines in draw_tem()

  • plot ("inline"): whether to plot images inline in R markdown documents (set to any other value to just view them in the viewer)

  • plot.maxwidth (2400): The maximum width of images created by plot()

  • plot.maxheight (2400): The maximum height of images created by plot()

  • verbose (TRUE): Whether to produce verbose output and progress bars for long functions like auto_delin(), avg() or trans()

  • server ("https://webmorph.org"): The server to use for webmorph functions like avg() and trans(); do not change unless you've set up a local server

  • connection (stdin()): use internally for testing interactive functions; do not change

Usage

wm_opts_defaults()

Value

a list of default options

See Also

wm_opts()

Examples

wm_opts_defaults() |> str() # view defaults

## Not run: 
# reset all options to default
wm_opts_defaults() |> wm_opts()

## End(Not run)

webmorphR documentation built on June 2, 2022, 5:07 p.m.