statnet / ergm

Fit, Simulate and Diagnose Exponential-Family Models for Networks
Other
98 stars 37 forks source link

mcmc.diagnostic output not printable #537

Closed AnnalisaStacchini closed 1 year ago

AnnalisaStacchini commented 1 year ago

Dear GitHubers,

I am using R 4.3.0, function: ergm and tergm. When I run mcmc.diagnostics(MyErgm) function, I see the ouptut quickly flow on the R Graphics device, but, when it finishes printing, I can see only the last 'page'. I cannot see nor print the full ouptut, once it has finished flowing. Neither if I use the coda package. Is there a way to see/print the full output?

Thanks to who will help.

Best Annalisa

mbojan commented 1 year ago

@AnnalisaStacchini thank you for reporting. Your issue went under the radar because you filed it with the statnet package rather than ergm or tergm.

Are you working with RStudio? If so, you can use the "Back" left-arrow button in the "Plots" tab.

Alternatively, one way of handling multiple graphics "pages" issues is to draw them to a PDF device, so

pdf("output.pdf")
mcmc.diagnostics(fit)
dev.off()

You will then have output.pdf in your working directory.

AnnalisaStacchini commented 1 year ago

Dear Michal,

Thanks a lot!!! It works greatly.

(Sorry for not having answered more timely, I was super busy with teaching activities).

Best wishes

Annalisa Stacchini


Da: Michał Bojanowski @.> Inviato: martedì 4 luglio 2023 14:25 A: statnet/ergm @.> Cc: Annalisa Stacchini @.>; Mention @.> Oggetto: Re: [statnet/ergm] mcmc.diagnostic output not printable (Issue #537)

@AnnalisaStacchinihttps://github.com/AnnalisaStacchini thank you for reporting. Your issue went under the radar because you filed it with the statnet package rather than ergm or tergm.

Are you working with RStudio? If so, you can use the "Back" left-arrow button in the "Plots" tab.

Alternatively, one way of handling multiple graphics "pages" issues is to draw them to a PDF device, so

pdf("output.pdf") mcmc.diagnostics(fit) dev.off()

You will then have output.pdf in your working directory.

— Reply to this email directly, view it on GitHubhttps://github.com/statnet/ergm/issues/537#issuecomment-1620155803, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BAO3UZ37P724FLABRDLT2GLXOQDVLANCNFSM6AAAAAAZ5U5LZE. You are receiving this because you were mentioned.Message ID: @.***>