Closed amulcan closed 4 years ago
Sorry, this case is why I included the sup_post
option... that should allow you to suppress the R plots and instead save them to png/pdf. When I run the above (changed run length to "test"
since that shouldn't matter), the plots are suppressed successfully. But they also aren't saved to png like they should since plot_post_save_png = TRUE
. That's a bug. I'll get on it.
Can you confirm that if you run the above code but change run length to "test"
, you get a whole bunch of posterior plots output to R?
Shouldn't matter, but there's a spelling error in 5th item of output_options
: plost_post_name
should be plot_post_name
.
I've added new output functions that allow you to suppress plots, save plots to file, or return plots for later modification. See new vignette Modify output.
Note that you'll need to install the Github version as these updates aren't on CRAN yet.
Hi Brian,
Okay, thanks for your help with this. I'll try out the new output functions.
Best, Mandy
I have been running MixSIAR to assess potential Pb sources in my study area sediments. I have 3 tracers, 4 sources, about 100 samples/mixtures, and no discrimination factors (trophic discrimination factors are not applicable for this study).
I run the model in "extreme" mode, and it seems to run without any problem. When it's done the output function creates about 60-65 posterior density plot pdfs then stops working and I receive the error "Error in (function (file = if (onefile) "Rplots.pdf" else "Rplot%03d.pdf", : too many open devices". This prevents the summary statistics and diagnostics files from being output, thus I cannot check if my model reached convergence.
Below is the script I am using and attached are examples of my data (randomized numbers). I appreciate any help! MixSIARexample.zip