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

ecoli1 and 2 networks generate errors #71

Open
martinamorris opened this issue Jun 15, 2019 · 13 comments
Open

ecoli1 and 2 networks generate errors #71

martinamorris opened this issue Jun 15, 2019 · 13 comments
Assignees

Comments

@martinamorris
Copy link
Member

Error in solve.default(A, tol = tol) :
system is computationally singular: reciprocal condition number = 1.7338e-21

Can others please try pulling to make sure you're working with the same version, and reproduce this. The error shows up on the console when you load the network from the Data tab

@chad-klumb
Copy link
Collaborator

I'm getting this as well. Not sure why solve is being called at all, when just loading the network data...

@martinamorris
Copy link
Member Author

martinamorris commented Jun 15, 2019 via email

@chad-klumb
Copy link
Collaborator

Yeah I tried plotting them in the R console with just ergm loaded and didn't get this error.

@chad-klumb
Copy link
Collaborator

Possibly not a statnetWeb issue: calling infocent from sna yields

> infocent(ecoli1)
Error in solve.default(A, tol = tol) : 
  system is computationally singular: reciprocal condition number = 1.7338e-21

and infocent is called at various points in server.R

@chad-klumb
Copy link
Collaborator

We could try suppressing the error message in statnetWeb, although I'm not completely sure what the results are supposed to be used for at this point.

@martinamorris
Copy link
Member Author

martinamorris commented Jun 15, 2019 via email

@martinamorris
Copy link
Member Author

i think the temp solution for statnetWeb is to not load the ecoli datasets into the built-in list.

@chad-klumb i know one place this is done is the top of server.R but i don't know if there are any other places that assume or reference these data. can you check, and see if commenting out the ecoli load gets us what we need?

@chad-klumb
Copy link
Collaborator

also appears in ui.R

I will try removing those and see what happens

@skhan890
Copy link
Contributor

Chad, not sure if you're working on this but I went ahead and implemented the change (it's pushed up). In ui.R you can comment out ecoli1-2, and the app will no longer show those 2 datasets as options.

I also changed a broken hyperlink for the "List of common ergmterms".

Here are the changes:
8b08d52#diff-dfdb0639caead1513ebded38db1c4f0bR220

@chad-klumb
Copy link
Collaborator

Yes, I was testing everything again, but if you've already made the changes, that's fine.

I also commented out ecoli occurrences in server.R (although those aren't directly visible to the end user).

@martinamorris
Copy link
Member Author

martinamorris commented Jun 15, 2019 via email

@skhan890
Copy link
Contributor

Done!
72e8f3b

@martinamorris
Copy link
Member Author

Ok, this is fixed for statnetWeb, but with a less-than-optimal solution. Since sna is not on GitHub, I can't file an issue for this, so will leave it open until @CarterButts weighs in.

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

3 participants