set_rstudio_drake_cache: Set 'rstudio_drake_cache' option.

set_rstudio_drake_cacheR Documentation

Set rstudio_drake_cache option.

Description

Value of this option is used internally by drake to "loadd target under cursor" (it can be set in ⁠Tools -> Modify Keyboard Shortcuts⁠). This shortcut will call ⁠loadd(<name of target under cursor>, cache = getOptions("rstudio_drake_cache"))⁠.

Usage

set_rstudio_drake_cache(dir, verbose = TRUE)

Arguments

dir

A character scalar: path to directory with drake cache.

verbose

A logical scalar: if TRUE, be verbose.

Value

Invisibly TRUE if dir exists, FALSE otherwise.


bioinfocz/scdrake documentation built on Sept. 19, 2024, 4:43 p.m.