ghlist {mmstat4}R Documentation

ghlist

Description

Returns unique (short) names for accessing each file in the repository according to a regular expression. For details about regular expressions, see base::regex.

Usage

ghlist(
  pattern = ".",
  ignore.case = FALSE,
  perl = FALSE,
  fixed = FALSE,
  useBytes = FALSE,
  full.names = FALSE
)

Arguments

pattern

character string containing a regular expression (or character string for fixed = TRUE) to be matched in the given character vector. Coerced by as.character to a character string if possible. If a character vector of length 2 or more is supplied, the first element is used with a warning. Missing values are allowed except for regexpr, gregexpr and regexec.

ignore.case

if FALSE, the pattern matching is case sensitive and if TRUE, case is ignored during matching.

perl

logical. Should Perl-compatible regexps be used?

fixed

logical. If TRUE, pattern is a string to be matched as is. Overrides all conflicting arguments.

useBytes

logical. If TRUE the matching is done byte-by-byte rather than character-by-character. See ‘Details’.

full.names

logical: should full names returned instead of short names (default: FALSE)

Value

character vector of short names

Examples

if (interactive()) ghlist()

[Package mmstat4 version 0.2.1 Index]