Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when using str() #8

Open
stone-d-chen opened this issue Nov 27, 2018 · 1 comment
Open

error when using str() #8

stone-d-chen opened this issue Nov 27, 2018 · 1 comment

Comments

@stone-d-chen
Copy link

stone-d-chen commented Nov 27, 2018

Running the chapter 2 code block

g <- graph.formula(1-2, 1-3, 2-3, 2-4, 3-5, 4-5, 4-6, 4-7, 5-6, 6-7)

str(g)

I get the following error

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

Let me know if you need more information, not sure what is standard to submit with an issue.

Thanks!

@bwcastillo
Copy link

U can use print_all(g)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants