read_from_local {settingsSync}R Documentation

Read from local a JSON file inside rstudio folder

Description

This is a helper function for [sync()] that: * reads a json file from the local rstudio folder * converts it to a data frame (to resolve conflicts in the future)

Usage

read_from_local(what)

Arguments

what

One of c("rstudio_bindings", "editor_bindings", "addins"), the file to read

Value

A data frame with the contents of the file, converted from json

See Also

[read_from_gd()], [push()], [sync()], [jsonlite::read_json()]

Examples

mimic_on()
  read_from_local("rstudio_bindings")
  read_from_local("editor_bindings")
  read_from_local("addins")
mimic_off()

[Package settingsSync version 3.0.2 Index]