How to fix Cairo error 'error while writing to output stream'

g <- file_summary %>% filter(beton_of %in% c("S1","S2","LU","FM")) %>%
ggplot()+
geom_boxplot(aes(serie,tau_max)) +
scale_color_manual(values=manual_colors) +
geom_point(aes(serie,tau_max,color=Versagen),alpha=0.3,size=3)+
ylab(expression(paste(tau[max]," [N/", mm^{2},"]")))+
xlab("Serie")+
my_theme
ggsave("./graphics/SB_boxplot.pdf",g,device=cairo_pdf,width=14,height=14,units="cm")
when i run this code ggsave(), it tells me cairo error 'error while wirting to output stream'. Dose anyone know how to solve this problem ? thanks very much!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.