Serve the datasets from a package inside the RStudio Connection Pane.
You can install the dev version of {fryingpane} from Github with:
# install.packages("remotes")
remotes::install_github("ColinFay/fryingpane")
Use this package to create a function for displaying your package data inside the RStudio Connection Pane.
Note that {fryingpane}
should be listed as a dependency to your new
package.
Create a function that launches the connection pane with the datasets from
your package. This function should have the following form in the .R
(change
mypkg
to the name of your package):
#' Launch Connection Pane
#' @export
#' @importFrom fryingpane serve
#' @example
open_connection <- fryingpane::serve("mypkg")
You can open the datasets from another package.
library(fryingpane)
cook("FactoMineR")
Close the connection with the ad hoc button.
You can find an history of your last connection in the Connections pane.
Questions and feedbacks welcome!
You want to contribute ? Open a PR :) If you encounter a bug or want to suggest an enhancement, please open an issue.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.