{"action":"created","issue":{"url":"https://api.github.com/repos/kenkellner/jagsUI/issues/6","labels_url":"https://api.github.com/repos/kenkellner/jagsUI/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/kenkellner/jagsUI/issues/6/comments","events_url":"https://api.github.com/repos/kenkellner/jagsUI/issues/6/events","html_url":"https://github.com/kenkellner/jagsUI/issues/6","id":125028653,"number":6,"title":"jags.basic suppresses console output when parallel = true despite verbose = true","user":{"login":"jasanford","id":16563776,"avatar_url":"https://avatars.githubusercontent.com/u/16563776?v=3","gravatar_id":"","url":"https://api.github.com/users/jasanford","html_url":"https://github.com/jasanford","followers_url":"https://api.github.com/users/jasanford/followers","following_url":"https://api.github.com/users/jasanford/following{/other_user}","gists_url":"https://api.github.com/users/jasanford/gists{/gist_id}","starred_url":"https://api.github.com/users/jasanford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasanford/subscriptions","organizations_url":"https://api.github.com/users/jasanford/orgs","repos_url":"https://api.github.com/users/jasanford/repos","events_url":"https://api.github.com/users/jasanford/events{/privacy}","received_events_url":"https://api.github.com/users/jasanford/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-05T18:59:18Z","updated_at":"2016-01-06T16:43:04Z","closed_at":null,"body":"The process runs fine and output is correct. I'm calling jags.basic via BESTmcmc (which passes verbose and parallel straight through to jags.basic. Perhaps console output wouldn't be useful but automatic suppression isn't mentioned in the documentation that I could find so it feels like a bug.\r\n\r\nVersions: R 3.2.2, BEST 0.3.0, jagsUI 1.3.7, rjags 4-4, JAGS 4.0.1\r\n\r\nSample script and terminal output:\r\n\r\nBESTout <- BESTmcmc(y1, y2, parallel = TRUE, verbose = TRUE)\r\nProcessing function input.......\r\n\r\nDone.\r\n\r\nBeginning parallel processing with 3 clusters. Console output will be suppressed."},"comment":{"url":"https://api.github.com/repos/kenkellner/jagsUI/issues/comments/169383495","html_url":"https://github.com/kenkellner/jagsUI/issues/6#issuecomment-169383495","issue_url":"https://api.github.com/repos/kenkellner/jagsUI/issues/6","id":169383495,"user":{"login":"kenkellner","id":6852955,"avatar_url":"https://avatars.githubusercontent.com/u/6852955?v=3","gravatar_id":"","url":"https://api.github.com/users/kenkellner","html_url":"https://github.com/kenkellner","followers_url":"https://api.github.com/users/kenkellner/followers","following_url":"https://api.github.com/users/kenkellner/following{/other_user}","gists_url":"https://api.github.com/users/kenkellner/gists{/gist_id}","starred_url":"https://api.github.com/users/kenkellner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenkellner/subscriptions","organizations_url":"https://api.github.com/users/kenkellner/orgs","repos_url":"https://api.github.com/users/kenkellner/repos","events_url":"https://api.github.com/users/kenkellner/events{/privacy}","received_events_url":"https://api.github.com/users/kenkellner/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T16:43:04Z","updated_at":"2016-01-06T16:43:04Z","body":"It's not a bug as much as a limitation. It's a consequence of the way the 'parallel' package works (which is what jagsUI is using in the background here). Each chain is being offloaded to a separate child process (each with its own invisible console) and there is no easy way to track their progress back in the parent R session until the run is complete. That's why jagsUI states \"console output will be suppressed\" (maybe I should state that more clearly in the warning message).\r\n\r\nIn the past I have explored some workarounds involving sending progress from the child processes to an exterior file which could then be read by the parent R session perhaps allowing for some kind of progress bar. I'll probably look at that again in the future although I'm concerned it might negatively impact performance."}}