[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] stack imbalance warning in R's igraph 0.6.5
From: |
Diego Diez |
Subject: |
[igraph] stack imbalance warning in R's igraph 0.6.5 |
Date: |
Wed, 27 Mar 2013 16:51:55 +0900 |
Hello list,
I am trying to move a project from igraph0 to igraph but I am getting
the following warning when computing a decompose.graph() with igraph,
which was not showing before with igraph0:
> ppi
IGRAPH UNW- 3703 7287 --
+ attr: info (g/x), name (v/c), label (v/c), exp_sys (e/c), exp_sys_type
(e/c), pubmed_id (e/c), weight (e/n)
> decompose.graph(ppi)->dg
Warning: stack imbalance in '.Call', 11 then 12
Warning: stack imbalance in '{', 8 then 9
Warning: stack imbalance in '<-', 2 then 3
Not getting this error when testing with small graphs (e.g. with
barabasi.game()) and deleting some nodes to generate unconnected
graphs.
Worth mention it does not happen only with decompose.graph(). E.g.:
> ppi
IGRAPH UNW- 3703 7287 --
+ attr: info (g/x), name (v/c), label (v/c), exp_sys (e/c), exp_sys_type
(e/c), pubmed_id (e/c), weight (e/n)
> head(V(ppi))
Vertex sequence:
[1] "19262" "51792" "18538" "56210" "66682" "27096"
> head(V(ppi)$name)
[1] "19262" "51792" "18538" "56210" "66682" "27096"
> length(eg_list)
[1] 2257
> length(eg_list[eg_list %in% V(ppi)$name])
[1] 2257
>induced.subgraph(ppi, eg_list)
Warning: stack imbalance in '.Call', 11 then 12
Warning: stack imbalance in '<-', 9 then 10
Warning: stack imbalance in '{', 6 then 7
IGRAPH UNW- 2257 3242 --
+ attr: info (g/x), name (v/c), label (v/c), exp_sys (e/c), exp_sys_type
(e/c), pubmed_id (e/c), weight (e/n)
Not sure what could be the source of this warning. Should I be
concerned about it?
Thank you,
Diego
> sessionInfo()
R version 2.15.3 Patched (2013-03-03 r62117)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] graphics grDevices utils datasets stats methods base
other attached packages:
[1] rTRM_0.9.1 RSQLite_0.11.2 DBI_0.2-5 igraph_0.6.5-1
[5] ggplot2_0.9.3.1
loaded via a namespace (and not attached):
[1] colorspace_1.2-1 dichromat_2.0-0 digest_0.6.3 grid_2.15.3
[5] gtable_0.1.2 labeling_0.1 MASS_7.3-23 munsell_0.4
[9] plyr_1.8 proto_0.3-10 RColorBrewer_1.0-5 reshape2_1.2.2
[13] scales_0.2.3 stringr_0.6.2 tools_2.15.3
- [igraph] stack imbalance warning in R's igraph 0.6.5,
Diego Diez <=