Segmentation Fault R markdown on MacOs

I've encountered the following Problem while running ggplot2 in a R-markdown cell.

If I run the code as a Cell I get the error but if I knit the whole document to HTML there are no Problems.

Does anyone have an idea what the problem could be ? Im on macOS arm running R4.2.2.

Same problem in Pycharm but on Windows it runs without any problem

```{r}
library(ggplot2)
ggplot(mpg, aes(displ, hwy, colour = class)) +
geom_point()

```

*** caught segfault ***
address 0x0, cause 'invalid permissions'

1

Please sign in to leave a comment.