read_from_gd | R Documentation |
This is a helper function for [pull()] and [sync()] that: * reads a json file from Google Drive inside the rstudio folder * converts it to a data frame (to resolve conflicts in the future)
read_from_gd(what, progBar = NULL)
what |
One of c("rstudio_bindings", "editor_bindings", "addins"), the file to read |
progBar |
function, designed to work with [progress_bar()]. Runs after the file is read. |
A data frame with the contents of the file, converted from json
[read_from_local()] [sync()] [jsonlite::fromJSON()] [googledrive::drive_read_string()]
mimic_on()
read_from_gd("rstudio_bindings")
read_from_gd("editor_bindings")
read_from_gd("addins")
mimic_off()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.