Learn R Programming

rtext (version 0.1.22)

rtext_base: rtext_base : basic workhorse for rtext

Description

rtext_base : basic workhorse for rtext

rtext_base : basic workhorse for rtext

Arguments

Value

Object of R6Class

Format

R6Class object.

Super class

rtext::R6_rtext_extended -> rtext_base

Methods

Public 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