0

I recently updated R to version 4.1.1 on MacOS via Homebrew. Since then, everytime I tried to use ggsave with the cairo_pdf device like this on R-Studio:

ggsave(plot = p, filename = plot_file, device = cairo_pdf, width = 8, height = 8)

R then crashes and issues the following error message: R Session aborted. R encountered a fatal error. The session was terminated.

I have checked R capabilities(), it all shows ok as shown below. I have also reinstalled cairo and R from brew but the problem persists. Does anyone have any suggestions on how to solve this? Many thanks

4

0 回答 0