Learn R Programming

settingsSync (version 3.0.2)

read_from_local: 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)

Value

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

Arguments

what

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

See Also

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

Examples

Run this code
mimic_on()
  read_from_local("rstudio_bindings")
  read_from_local("editor_bindings")
  read_from_local("addins")
mimic_off()

Run the code above in your browser using DataLab