Learn R Programming

RSurvey (version 0.7-9)

Search: Search

Description

A GUI for establishing find and replace arguments in a data table.

Usage

Search(is.replace = FALSE, defaults = NULL, parent = NULL)

Arguments

is.replace
logical; if TRUE, the replace component is included.
defaults
list; see Value.
parent
tkwin; the GUI parent window.

Value

  • A list with the following components:
  • find.whatcharacter; the string to search for.
  • replace.withcharacter; the replace string.
  • is.match.wordlogical; should matches be restricted to whole words only?
  • is.match.caselogical; is the search case sensitive?
  • is.reg.expslogical; should the search be made using regular expression (that is, a pattern that describes a set of strings)?
  • is.search.collogical; is the search limited to a single column?
  • is.perllogical; should Perl style regular expressions be used?
  • is.replace.firstlogical; replace only the first instance?
  • is.search.sellogical; is the search limited to selected cells?

Details

Something

Examples

Run this code
ans <- Search()

Run the code above in your browser using DataLab