igraph.options
.igraph.options(...)
getIgraphOpt(x, default = NULL)
igraph.par(parid, parvalue = NULL)
name=value
form, or no argument at
all may be given. See the Value and Details sections for explanation.NULL
then
the current value of the parameter is listed.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 getIgraphOpt
, the current value set for option x
, or
NULL
if the option is unset.
If parvalue
is NULL
then igraph.par
returns the
current value of the parameter. Otherwise the new value of the
parameter is returned invisibly.
igraph.par
is deprecated. Please use
the more flexible igraph.options
and getIgraphOpt
functions instead. The parameter values set via a call to the 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 dendPlot
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
getIgraphOpt
is similar to getOption
.oldval <- getIgraphOpt("verbose")
igraph.options(verbose=TRUE)
layout.kamada.kawai(graph.ring(10))
igraph.options(verbose=oldval)
Run the code above in your browser using DataLab