pull {settingsSync}R Documentation

Pull Rstudio Settings

Description

Pulls Rstudio settings from Google Drive, without pushing. 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.

Usage

pull(
  all = FALSE,
  addins_gd = FALSE,
  editor_bindings_gd = FALSE,
  rstudio_bindings_gd = FALSE
)

Arguments

all

boolean, if TRUE will pull all settings from gd, overwriting them. This param overrides the values of the other params. Default is FALSE.

addins_gd, editor_bindings_gd, rstudio_bindings_gd

character or boolean, the json string to be written to the respective file or TRUE/FALSE; if TRUE, will read from Google Drive; if FALSE to not write that specific file. Default is FALSE

Value

nothing

See Also

[read_from_gd()], [sync()], [push()]

Examples

mimic_on()
  pull()           # does nothing
  pull(all = TRUE) # will pull all settings from gd, overwriting them
  pull(addins_gd = '{"insertPipeOperator": "Shift+Tab"}',)
  # will write to addins.json the string
  pull(
    addins_gd = '{"insertPipeOperator": "Shift+Tab"}',
    editor_bindings_gd= TRUE
  )
  # will write to addins.json the string and pull editor_bindings from gd
mimic_off()

[Package settingsSync version 3.0.2 Index]