R session aborts when executing ggplot2 in RStudio

I have a similar problem as recently described here. However, the difference is that R is in the most recent version already.

Error description
Everytime ggplot2 is executed, RStudio terminates with "R Session Aborted - R encountered a fatal error - The session was terminated". In the terminal, the same works without problems and delivers the desired output (a ggplot graph).

I re-installed ggplot2 and RStudio, but the problem persisted.

Software version
Debian GNU/Linux 10 (buster)
R version 4.1.0 (2021-05-18) -- "Camp Pontanezen"
RStudio Version 1.4.1106

Session info

R version 4.1.0 (2021-05-18)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 10 (buster)

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.8.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.8.0

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] ggplot2_3.3.3

loaded via a namespace (and not attached):
 [1] fansi_0.5.0      withr_2.4.2      dplyr_1.0.6      crayon_1.4.1    
 [5] utf8_1.2.1       grid_4.1.0       R6_2.5.0         lifecycle_1.0.0 
 [9] gtable_0.3.0     magrittr_2.0.1   scales_1.1.1     pillar_1.6.1    
[13] rlang_0.4.11     generics_0.1.0   vctrs_0.3.8      ellipsis_0.3.2  
[17] tools_4.1.0      glue_1.4.2       purrr_0.3.4      munsell_0.5.0   
[21] yaml_2.2.1       compiler_4.1.0   pkgconfig_2.0.3  colorspace_2.0-1
[25] tidyselect_1.1.1 tibble_3.1.2 

Would be great if you would have an idea or could give me a hint where to look next,
Thanks & best,
Bathyscapher

You have to update RStudio to the preview version, not R, they are not the same thing. You are still using the latest stable version of RStudio.

True that. I read to imprecisely and overlooked that the RStudio versions are different.

Actually, I downloaded the last version of RStudion a few days ago and ended up with version 1.4.1106. Anyway, now it's solved, thank you :slight_smile:

This topic was automatically closed 7 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.