rtext_base: rtext_base : basic workhorse for rtext

Description Format Value Super class Methods See Also

Description

rtext_base : basic workhorse for rtext

rtext_base : basic workhorse for rtext

Format

R6Class object.

Value

Object of R6Class

Super class

rtext::R6_rtext_extended -> rtext_base

Methods

Public methods

Inherited methods

Method new()

Usage
rtext_base$new(
  text = NULL,
  text_file = NULL,
  encoding = "UTF-8",
  id = NULL,
  save_file = NULL,
  verbose = TRUE
)

Method info()

Usage
rtext_base$info()

Method text_show()

Usage
rtext_base$text_show(
  length = 500,
  from = NULL,
  to = NULL,
  coll = FALSE,
  wrap = FALSE
)

Method text_get()

Usage
rtext_base$text_get(length = Inf, from = NULL, to = NULL, split = NULL)

Method text_get_lines()

Usage
rtext_base$text_get_lines(length = Inf, from = NULL, to = NULL)

Method char_get()

Usage
rtext_base$char_get(length = Inf, from = NULL, to = NULL, raw = FALSE)

Method char_add()

Usage
rtext_base$char_add(what = NULL, after = NULL)

Method char_delete()

Usage
rtext_base$char_delete(n = NULL, from = NULL, to = NULL)

Method char_replace()

Usage
rtext_base$char_replace(from = NULL, to = NULL, by = NULL)

Method char_length()

Usage
rtext_base$char_length()

Method char_data_set()

Usage
rtext_base$char_data_set(x = NULL, i = NULL, val = NA, hl = 0)

Method char_data_set_regex()

Usage
rtext_base$char_data_set_regex(x = NULL, pattern = NULL, val = NA, hl = 0, ...)

Method char_data_get()

Usage
rtext_base$char_data_get(from = 1, to = Inf, x = NULL, full = FALSE)

Method hash_get()

Usage
rtext_base$hash_get(name = "")

Method clone()

The objects of this class are cloneable with this method.

Usage
rtext_base$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

rtext


rtext documentation built on Jan. 28, 2021, 9:05 a.m.

Related to rtext_base in rtext...