gstring

0th

Percentile

Parses and evaluates a GString into a regular string

Parses and evaluates a GString into a regular string.

Usage
"gstring"(..., file=NULL, path=NULL, envir=parent.frame())
Arguments
...
character strings.
file, path
Alternatively, a file, a URL or a connection from with the strings are read. If a file, the path is prepended to the file, iff given.
envir
The environment in which the GString is evaluated.
...
one or more objects, to be coerced to character vectors.
sep
A character string to separate the terms.
Value

Returns a character string.

Fields and Methods

Methods:

as.character
Gets the processed character string.
evaluate Parses and evaluates a GString.
gcat
-
getBuiltinDate Gets the current date.
getBuiltinDatetime
Gets the current date and time.
getBuiltinHostname Gets the hostname of the system running R.
getBuiltinOs
Gets the operating system of the running machine.
getBuiltinPid Gets the process id of the current R session.
getBuiltinRhome
Gets the path where R is installed.
getBuiltinRversion Gets the current R version.
getBuiltinTime
Gets the current time.
getBuiltinUsername Gets the username of the user running R.
getRaw
Gets the unprocessed GString.
getVariableValue Gets a variable value given a name and attributes.
gstring
-
parse Parses a GString.
print
Prints the processed GString.
Methods inherited from character: all.equal, as.Date, as.POSIXlt, as.data.frame, as.raster, downloadFile, formula, getDLLRegisteredRoutines, isOpen, toAsciiRegExprPattern, toFileListTree, uses

See Also

gcat().

Aliases
  • gstring.default
  • gstring
  • gstring.GString
  • GString
Documentation reproduced from package R.utils, version 2.5.0, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.