rtext_base : basic workhorse for rtext
rtext_base : basic workhorse for rtext
Object of R6Class
R6Class
object.
rtext::R6_rtext_extended
-> rtext_base
new()
rtext_base$new( text = NULL, text_file = NULL, encoding = "UTF-8", id = NULL, save_file = NULL, verbose = TRUE )
info()
rtext_base$info()
text_show()
rtext_base$text_show( length = 500, from = NULL, to = NULL, coll = FALSE, wrap = FALSE )
text_get()
rtext_base$text_get(length = Inf, from = NULL, to = NULL, split = NULL)
text_get_lines()
rtext_base$text_get_lines(length = Inf, from = NULL, to = NULL)
char_get()
rtext_base$char_get(length = Inf, from = NULL, to = NULL, raw = FALSE)
char_add()
rtext_base$char_add(what = NULL, after = NULL)
char_delete()
rtext_base$char_delete(n = NULL, from = NULL, to = NULL)
char_replace()
rtext_base$char_replace(from = NULL, to = NULL, by = NULL)
char_length()
rtext_base$char_length()
char_data_set()
rtext_base$char_data_set(x = NULL, i = NULL, val = NA, hl = 0)
char_data_set_regex()
rtext_base$char_data_set_regex(x = NULL, pattern = NULL, val = NA, hl = 0, ...)
char_data_get()
rtext_base$char_data_get(from = 1, to = Inf, x = NULL, full = FALSE)
hash_get()
rtext_base$hash_get(name = "")
clone()
The objects of this class are cloneable with this method.
rtext_base$clone(deep = FALSE)
deep
Whether to make a deep clone.