push | R Documentation |
Pushes Rstudio settings to Google Drive, without pulling. This is just a helper function for [sync()], the main function, but can be used alone, although this function will not do any checking, and will just override. Because of the way [googledrive::drive_put] is built, this function reads from the files directly.
push(
do_all = FALSE,
do_addins = FALSE,
do_editor_bindings = FALSE,
do_rstudio_bindings = FALSE,
progBar = NULL
)
do_all |
boolean, if TRUE will push all settings to gd, overwriting them. This param overrides the values of the other params. Default is FALSE. |
do_addins , do_editor_bindings , do_rstudio_bindings |
booleans, if TRUE will push the respective file. Default is FALSE |
progBar |
function, designed to work with [progress_bar()]. Runs after each file is pushed. |
nothing
mimic_on()
push() # does nothing
push(do_all = TRUE) # will push all settings to gd, overwriting them
push(do_editor_bindings = FALSE, do_rstudio_bindings = FALSE)
# will push only editor and rstudio bindings
mimic_off()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.