kolaczyk / sand

Statistical Analysis of Network Data with R, 2nd Edition
294 stars 192 forks source link

V(fblog.c) crashes after fblog.c <- contract.vertices(fblog, party.nums) in CHUNK 14 of Chapter3.R #1

Closed ZuchaoWang closed 9 years ago

ZuchaoWang commented 10 years ago

Hi, Kolaczyk,

First, many thanks for this nice book! Below is the issue:

In CHUNK 14 of Chapter3.R I tried to run V(fblog.c) immediately after fblog.c <- contract.vertices(fblog, party.nums), then it crashed I also tried summary(fblog.c), it also crashed The system mentioned that it's igraph.so that crashes Although the crash is not in your code, but it's related. Do you know how to fix that?

Below is my R version: platform x86_64-pc-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status beta
major 3
minor 1.0
year 2014
month 03
day 28
svn rev 65330
language R
version.string R version 3.1.0 beta (2014-03-28 r65330) nickname Spring Dance

My igraph version is 0.7.1 My sand version is 1.0.2

gaborcsardi commented 10 years ago

Hmmm, I cannot reproduce this.

Can you please also try it with a released R version instead of the (old) beta version you are using? Please just load the sand package, and then do C3 and then N ~14 times. Thanks.

gaborcsardi commented 9 years ago

So I assume this has been solved. If you still have problems, please reopen this issue.

denisovan31415 commented 8 years ago

I am having the same issue. After fblog.c <- contact.vertices(fblog,party.num) Rstudio crashes every time. I've tried it many times.