with_igraph_opt

0th

Percentile

Run code with a temporary igraph options setting

Run code with a temporary igraph options setting

Usage
with_igraph_opt(options, code)
Arguments
options

A named list of the options to change.

code

The code to run.

Value

The result of the code.

See Also

Other igraph options: igraph_options

Aliases
  • with_igraph_opt
Examples
# NOT RUN {
with_igraph_opt(
  list(sparsematrices = FALSE),
  make_ring(10)[]
)
igraph_opt("sparsematrices")
# }
Documentation reproduced from package igraph, version 1.2.2, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.