title: ggplot opening new window
body: <p>I am trying to generate a graph in ggplot2, but instead of showing up in the plots window it opens a new window named "R Graphics: Device 2 (ACTIVE)". This prevents me from resizing the graph and saving it in my desired size. I have tried calling dev.off() and dev.cur(), but they return null device 1, which seems correct. Does anyone know how to return it to the plots window? 
  I am using R 3.4, RStudio 1.0.136, and Windows 10.</p>