Learn R Programming

jot (version 0.0.5)

jot_lock: Lock or Unlock a jot Notepad

Description

  • jot_lock() locks a notepad so that jot will not write to it.

  • jot_unlock() unlocks a notepad so that jot can write to it.

Usage

jot_lock(pad = jot_active())

jot_unlock(pad = jot_active())

Value

path to pad, invisibly

Arguments

pad

path to file to open

Examples

Run this code
tf <- tempfile()
jot_new_pad(tf)
jot_activate(tf)
jot_lock()
jot_unlock()

Run the code above in your browser using DataLab