MixSIAR
MixSIAR copied to clipboard
isospace plot not being saved in working directory
I ran several of the tutorials but when I select make isospace plot in the GUI it displays it on the screen but not as a pdf which was selected. When I go to my working directory, there is a file for isospace plot but it contains nothing.
The error message at get on the screen is Error in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x, x$y, : Metric information not available for this family/device so not sure what is causing this
I'm not sure either. If you were using R Studio, I'd suggest opening the GUI outside R Studio. Sometimes the R Studio plot window can screw things up.
good suggestion Brian, but I am not a R studio user, strictly using your gui on regular R, or have tried using your scripts, but the pdf (only for isospace plot, other graphs like diagnostics are pdf) work. I avoid the error if I select png as the option for the isospace. Strange that it has only problems with only this plot.
Hmm, it is strange that it only has issues on the isospace plot pdf. Can you reinstall the latest version of MixSIAR and confirm that this happens if you open a new R console and run the wolves example with
install.packages("MixSIAR")
library(MixSIAR)
mixsiar.dir <- find.package("MixSIAR")
source(file.path(mixsiar.dir,"example_scripts","mixsiar_script_wolves.R"))
If so, please post the result of sessionInfo()
.
Brian
this is what I get
source(file.path(mixsiar.dir,"example_scripts","mixsiar_script_wolves.R")) Error in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x, x$y, : Metric information not available for this family/device
Hi!
Exactly the same here! I didn't see this post last year but there's no way I can get the isospaces to be saved as pdf. The rest of the graphs are save both as png and pdf without any problem. If I put plot_save_pdf=TRUE it says the same and doesn't even save the png. If I put it to FALSE, then it saves the png:
Error in grid.Call.graphics(C_text, as.graphicsAnnot(x$label), x$x, x$y, : Metric information not available for this family/device
Where you able to find a solution @jrfrun ?
Thanks!