title: ggplot2 crashing (Rstudio1.4.1717) when combined with python in Rmarkdown
body: <p><strong>tl:dr Rmarkdown crashes when loading ggplot2 library in combination with using python chunks in Rstudio 1.4.1717</strong></p>
  <p>My Rmarkdown file is crashing after I upgraded to 1.4.something. It's the same ggplot2 crash people are talking about in other threads (e.g. <a href="https://community.rstudio.com/t/ggplot-crashing-system/105560" rel="nofollow noreferrer">ggplot Crashing system</a>, <a href="https://github.com/rstudio/rstudio/issues/9373" rel="nofollow noreferrer">GGplot crashes Rstudio after upgrade</a> or <a href="https://stackoverflow.com/questions/67650911/suddenly-ggplot-crashes-r-studio-any-suggestions/68018624#68018624">suddenly geplot crashes</a>). The fix to upgrade to 1.4.1717 does not resolve the issue for me.</p>
  <p>If I use library(ggplot2) in the console it works, in a script or new markdown file it works. However, combined with using reticulate it crashes. Here's chunk 1</p>
  <pre><code>{r setup, include=FALSE}
  knitr::opts_chunk$set(echo = TRUE)
  
  
  library(reticulate)
  library(dygraphs)
  library(xts)
  
  library(ggplot2)
  library(lubridate)
  library(scales)
  library(ggpubr)
  </code></pre>
  <p>followed by chunk 2</p>
  <pre><code>{python ,echo=FALSE, message = FALSE, warning = FALSE,results = FALSE}
  import os
  path=&quot;/Users/-----&quot;
  os.chdir(path)
  os.getcwd()
  </code></pre>
  <p>Chunk 1 works without any problem. However, as soon as I use <code>import os</code> it crashes. If I disable the following packages <code>#library(ggplot2) #library(ggpubr)</code> in chunk 1, then it does not crash. If I run chunk 2 before chunk 1 it crashes as soon as I load <code>library(ggplot2)</code>.</p>
  <p>I'm working with Miniconda (Python 3.6.13) as interpreter in Rstudio. Everything in the markdown works except for the combination of using ggplot2 (or ggpubr, but that's because it loads ggplot2) with any python chunk (i.e. I tried just using the following chunk #3</p>
  <pre><code>{python}
  
  A=2
  </code></pre>
  <p>but this also crashed Rstudio. Any other people having similar issues? Is there any solution to this?</p>