title: Python and R: how do you show a plot with Pyper in a Jupyter notebook?
body: <p>I am creating a report using Jupyter. Most of my code is in Python, but I need to use some R functionalities. </p>
  
  <p>I use a package called Pyper to call R in Python. It works well, but I could not figure out how to display a plot made in R (via Pyper) in the Jupiter notebook. Everything seems to work well, but Jupyter does not show the plot. </p>
  
  <p>Here's my test code:</p>
  
  <pre><code>In [17]: from pyper import *
           r = R()
           r("library(TSA)")
           r("data(star)")
           r("periodogram(star)")
  </code></pre>
  
  <p>And this is the output from Jupyter (without the periodogram plot):</p>
  
  <pre><code>Out[17]: 'try({periodogram(star)})\n'
  </code></pre>