title: Making plumber API available over internet
body: <p>I am fairly new to the plumber package in R. I got a working API to run locally on my machine and I can access it from a live JS application on the web with the code:</p>
  
  <pre><code>r &lt;- plumb("my_api_code.r")
  r$run(host = "0.0.0.0", port = 8000)
  </code></pre>
  
  <p>I have read that it is not a good idea to host the r code on say my personal laptop, but I just wanted to be able to run the above code, open an R server session, and then access this over the internet from a different machine for demonstration purposes.</p>
  
  <p>Is there a way to access this api over the internet based on the IP address of the machine running the R session? I wasn't able to find documentation for the <code>r$run</code> <code>r$host</code> <code>r$serve</code> functions that are available.</p>