title: How can I use Cairo to replace ggplot graphics in PowerBI
body: <p>I am working on a ggplot graph to be used within PowerBI. I would like to use Cairo to improve the look of the graph. When using the <code>CairoWin()</code> function in RStudio it generates a popout window. The same happens in PowerBI. This is no good for the PowerBI dashboard as I need the Cairo generated graph to remain embedded in the dashboard replacing the current ggplot graph not as a popout.</p>
  <p>I have tried the Cairo documentation but, no luck. Is there anyway for Cairo to replace the ggplot generated graph instead of creating a popout window?</p>