According to the CRAN igraph docs, the arpack_defaults() provides the default values. I should be able to supply a named list to override the defaults, but I am unable to get the syntax correct. It works for spectrum() but fails for centr_eigen(), eigen_centrality(), or evcent()
library(igraph)
# Create and Print Graph
bb <- graph_from_literal(E-D-A-B, A-C)
print(bb)
#IGRAPH dc36067 UN-- 5 4 --
#+ attr: name (v/c)
#+ edges from dc36067 (vertex names):
#[1] E--D D--A A--B A--C
# Changing the ARPACK option by providing a named list works here
spectrum(bb, which = list(pos = "LA"))$options$which #[1] "LA"
spectrum(bb, which = list(pos = "LM"))$options$which #[1] "LM"
# Functions below are not using the provided "LM" & instead using default "LA"
centr_eigen(bb, options = list(which = "LM"))$options$which #[1] "LA"
eigen_centrality(bb, options = list(which = "LM"))$options$which #[1] "LA"
evcent(bb, options = list(which = "LM"))$options$which #[1] "LA"