Package 'scribblr'

Title: A Notepad Inside RStudio
Description: A project aware notepad inside RStudio, for taking quick project-related notes without distractions. RStudio addin.
Authors: Valerio Gherardi [aut, cre]
Maintainer: Valerio Gherardi <[email protected]>
License: GPL (>= 3)
Version: 0.2.1
Built: 2024-08-26 04:18:55 UTC
Source: https://github.com/vgherard/scribblr

Help Index


Open scribblr note editor

Description

Opens the scribblr note editor in a new window.

Usage

scribble(note = NULL)

Arguments

note

either NULL, or a length one character (not NA). See details.

Details

scribblr integrates a minimalist note editor within RStudio, useful for taking quick project-related notes without distractions. scribblr notes are RStudio project aware: each project has associated its own notes, which can be accessed by calling scribble(), and are stored into the project's root directory. Using scribble() without any active project will take the R home directory as root.

Calling scribble() with the default note = NULL gives access to the main project notes. Otherwise, note must be a string specifying a valid filename.

scribblr notes and settings for the active project are stored in the ".scribblr" directory, under the project's root. If this, or the note specified by note, do not exist, the user will be prompted for permission to create the required files/directories.

Notes are autosaved when the editor is closed; until that moment, the R session will remain busy.

scribble() can also be called (and, in particular, associated a custom keystroke) via the RStudio Addin "Open scribblr note editor".

Value

returns NULL, invisibly. Called for side-effects.

Author(s)

Valerio Gherardi

Examples

## Not run: 
scribble()

## End(Not run)

Delete a scribblr note

Description

Delete a scribblr note.

Usage

scribblr_delete(note)

Arguments

note

a length one character (not NA). Note to be deleted.

Value

returns NULL, invisibly. Used for side-effects.

Author(s)

Valerio Gherardi

See Also

scribble

Examples

## Not run: 
scribblr_delete("todo")

## End(Not run)

List scribblr notes

Description

List all scribblr notes.

Usage

scribblr_list()

Value

a character vector.

Author(s)

Valerio Gherardi

See Also

scribble

Examples

## Not run: 
scribblr_list("todo")

## End(Not run)