-
Notifications
You must be signed in to change notification settings - Fork 189
Description
> N <<< 2.4 str(g) Error in adjacent_vertices(x, i, mode = if (directed) "out" else "all") : At iterators.c:759 : Cannot create iterator, invalid vertex id, Invalid vertex id
Searching for this error turns up this StackOverflow post - https://stackoverflow.com/questions/46137227/r-str-gives-unusual-return-using-igraph
It seems that as of igraph 1.1.1 that str() is defunct and you need to use print_all(g) instead of str(g), which gives the correct output for 2.4.
However, there doesn't seem to be a way to skip over a code section within a chapter using N, so the rest of the code needs to be manually entered.
I would recommend updating the code for 2.4 and also implementing a function for skipping a code section or jumping directly to a code section.
Thanks!