[R] FYI conflict between statnet, igraph
csardi at rmki.kfki.hu
Tue Aug 18 12:54:32 CEST 2009
I believe that the reason for this is that both packages define
functions with the same name and the 'network' package does not have a
A possible workaround is to load the 'igraph' package first, and then
'statnet' (which loads 'network', etc.) next. At least
works fine. Best,
On Mon, Aug 17, 2009 at 9:12 PM, Ben
Mazzotta<benjamin.mazzotta at tufts.edu> wrote:
> Dear R users:
> There appears to be a conflict between the statnet package and the
> igraph package.
> With igraph loaded into memory, the network() function of statnet
> failed, returning the error to the effect that the matrix being
> converted was "not a graph object." Removing igraph from memory restored
> statnet to proper function.
> Apologies if this is redundant. I could not find this documented in the
> help archives or in the docs for either package.
> Ben Mazzotta
> PhD Candidate
> Fletcher School, Tufts University
> 160 Packard Ave, Medford MA 02155
> benjamin.mazzotta at tufts.edu
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Gabor Csardi <Gabor.Csardi at unil.ch> UNIL DGM
More information about the R-help