title: View venn.diagram in RStudio viewer (not just write to file) using VennDiagram?
body: <p>Using the <code>VennDiagram</code> package, we can make a venn diagram like so with the <code>venn.diagram()</code> function <a href="https://www.r-graph-gallery.com/14-venn-diagramm.html" rel="noreferrer">like so</a>:</p>
  
  <p><a href="https://i.stack.imgur.com/jLAhom.png" rel="noreferrer"><img src="https://i.stack.imgur.com/jLAhom.png" alt="enter image description here"></a></p>
  
  <pre><code>library(tidyverse)
  library(hrbrthemes)
  library(tm)
  library(proustr)
  
  # Load dataset from github
  data &lt;- read.table("https://raw.githubusercontent.com/holtzy/data_to_viz/master/Example_dataset/14_SeveralIndepLists.csv", header=TRUE) 
  to_remove &lt;- c("_|[0-9]|\\.|function|^id|script|var|div|null|typeof|opts|if|^r$|undefined|false|loaded|true|settimeout|eval|else|artist")
  data &lt;- data %&gt;% filter(!grepl(to_remove, word)) %&gt;% filter(!word %in% stopwords('fr')) %&gt;% filter(!word %in% proust_stopwords()$word)
  
  # library
  library(VennDiagram)
  
  #Make the plot
  venn.diagram(
    x = list(
      data %&gt;% filter(artist=="booba") %&gt;% select(word) %&gt;% unlist() , 
      data %&gt;% filter(artist=="nekfeu") %&gt;% select(word) %&gt;% unlist() , 
      data %&gt;% filter(artist=="georges-brassens") %&gt;% select(word) %&gt;% unlist()
    ),
    category.names = c("Booba (1995)" , "Nekfeu (663)" , "Brassens (471)"),
    filename = 'venn.png',
    output = TRUE ,
    imagetype="png" ,
    height = 480 , 
    width = 480 , 
    resolution = 300,
    compression = "lzw",
    lwd = 1,
    col=c("#440154ff", '#21908dff', '#fde725ff'),
    fill = c(alpha("#440154ff",0.3), alpha('#21908dff',0.3), alpha('#fde725ff',0.3)),
    cex = 0.5,
    fontfamily = "sans",
    cat.cex = 0.3,
    cat.default.pos = "outer",
    cat.pos = c(-27, 27, 135),
    cat.dist = c(0.055, 0.055, 0.085),
    cat.fontfamily = "sans",
    cat.col = c("#440154ff", '#21908dff', '#fde725ff'),
    rotation = 1
  )
  
  </code></pre>
  
  <p>This results in a <code>.png</code> written to the working directly. </p>
  
  <p>How can it instead be viewed in the RStudio viewer pane, and also used in RMarkdown docs etc (i.e. just in the same way a regular ggplot or base plots would be viewed)? </p>
  
  <p>Also note, the same question applies to any of the examples found in the <code>?
  venn.diagram</code> documentation (they all seem to write to file instead of display in the RStudio viewer) </p>