igraph_options
.igraph_options(...)igraph_opt(x, default = NULL)
name=value
form, or no argument at all may be
given. See the Value and Details sections for explanation.igraph_options
returns a list with the updated values of the
parameters. If the argument list is not empty, the returned list is
invisible.For igraph_opt
, the current value set for option x
, or
NULL
if the option is unset.
igraph_options
function
will remain in effect for the rest of the session, affecting the subsequent
behaviour of the other functions of the igraph
package for which the
given parameters are relevant.This offers the possibility of customizing the functioning of the
igraph
package, for instance by insertions of appropriate calls to
igraph_options
in a load hook for package
The currently used parameters in alphabetical order:
[object Object],[object Object],[object Object],[object Object],. Possible values are plot_dendrogram
for details.,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
igraph_options
is similar to options
and
igraph_opt
is similar to getOption
.oldval <- igraph_opt("verbose")
igraph_options(verbose=TRUE)
layout_with_kk(make_ring(10))
igraph_options(verbose=oldval)
#'
Run the code above in your browser using DataLab