Serve your dataset in RStudio Connection Pane with {fryingpane}

[This article was first published on Colin Fay, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Serve the dataset from a package in RStudio Connection Pane.


{fryingpane} is a nice R dad joke a package that has only two

  • cook: serve the dataset from a package in your RStudio Connection

  • serve: create a function in your package that will serve the
    datasets from the package inside the Connection Pane, with this kind
    of code:

<span class="cd">#' Launch Connection Pane</span><span class="w">
</span><span class="cd">#' @export</span><span class="w">
</span><span class="cd">#' @importFrom fryingpane serve</span><span class="w">
</span><span class="cd">#' @example </span><span class="w">

</span><span class="n">open_connection</span><span class="w"> </span><span class="o"><-</span><span class="w"> </span><span class="n">fryingpane</span><span class="o">::</span><span class="n">serve</span><span class="p">(</span><span class="s2">"mypkg"</span><span class="p">)</span><span class="w">

You can install it with:

<span class="c1"># install.packages("remotes")</span><span class="w">
</span><span class="n">remotes</span><span class="o">::</span><span class="n">install_github</span><span class="p">(</span><span class="s2">"ColinFay/fryingpane"</span><span class="p">)</span><span class="w">

Why this package ?

This package, depsite is (obvious) usefullness, was a neat opportunity
for me to learn how to deal with RStudio Connection Pane – an adventure
I’ll be sharing on rtask in a near future. I
have to say this RStudio feature seems promising, even if a little bit
complex to handle in the first place.

Meanwhile if you have any idea for improving the package (I could for
example put some buttons on top of the Connection Panel), feel free to
open an issue on the GitHub

To leave a comment for the author, please follow the link and comment on their blog: Colin Fay. offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)