Description Usage Arguments Details Value Examples
These functions get and set 'cursorjumper' barrier strings which will be used
in jump()
for a decision making whether to perform a jump.
1 2 3 | set_barrier_strings(barrier_strings)
get_barrier_strings()
|
barrier_strings |
A character vector for barrier strings (there should
be no empty strings) or |
Note that symbols in barrier_strings
shouldn't be explicitly
escaped, i.e. they should be in the form present in RStudio.
set_barrier_strings()
returns call to options()
after setting
barrier strings. get_barrier_strings()
returns currently set barrier
strings (if nothing was set explicitly, it returns default barrier strings).
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# If nothing is set, it returns default barriers
barriers <- get_barrier_strings()
# Here " symbol shouldn't be explicitly escaped
set_barrier_strings(c("a", '"]'))
get_barrier_strings()
set_barrier_strings(barriers)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.