Serve your dataset in RStudio Connection Pane with {fryingpane}

May 27, 2018

[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:

#' Launch Connection Pane
#' @export
#' @importFrom fryingpane serve
#' @example 

open_connection <- fryingpane::serve("mypkg")

You can install it with:

# install.packages("remotes")

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.

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


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)