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

weave seems to hang at one point for me #53

Closed
dmbates opened this issue Sep 22, 2016 · 4 comments
Closed

weave seems to hang at one point for me #53

dmbates opened this issue Sep 22, 2016 · 4 comments

Comments

@dmbates
Copy link
Contributor

dmbates commented Sep 22, 2016

I am using Weave version 0.1.2 under Julia 0.5.0 to generate documentation for the MixedModels package. The file docs/src/man/bootstrap.jmd is the source. If I run the chunks separately, it takes about 8 seconds to execute chunk 7. When I try to weave the file it hangs at chunk 7, the call to bootstrap!.

@dmbates
Copy link
Contributor Author

dmbates commented Sep 23, 2016

The issue seems to be related to time required for evaluation. If I change the number of bootstrap replicates from 100,000 to 1,000 in the call to bootstrap! the run succeeds.

@mpastell
Copy link
Collaborator

Thanks for letting me know and sorry for not being more responsive. I'll look into it when I find some time.

@mpastell
Copy link
Collaborator

mpastell commented Nov 1, 2016

The issue seems to be related to using term true which causes the whole result to be displayed. Printing out the result is clearly a bug as the semicolon doesn't suppress output.

When I remove term=true from options the bootstrap! call doesn't hang anymore.

Also Weave hanging when a chunk produces too much output is a bug which I need investigate further.

@mpastell
Copy link
Collaborator

mpastell commented Nov 1, 2016

The bug for semicolons in term=true is now fixed and so your document now works. It seems that I can't fix the more general issue of Weave hanging when there is too much output.

@mpastell mpastell closed this as completed Nov 1, 2016
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