Site icon R-bloggers

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.

About

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

< !-- end list -->
#' Launch Connection Pane
#' @export
#' @importFrom fryingpane serve
#' @example 

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

You can install it with:

# install.packages("remotes")
remotes::install_github("ColinFay/fryingpane")

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 repo.

To leave a comment for the author, please follow the link and comment on their blog: Colin Fay.

R-bloggers.com 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.