Learn R Programming

grid (version 3.4.0)

explode:

Description

Explode a viewport path or grob path into its components.

Usage

explode(x)
# S3 method for character
explode(x)
# S3 method for path
explode(x)

Arguments

x
Typically a viewport path or a grob path, but a character vector containing zero or more path separators may also be given.

Value

A character vector.

See Also

vpPath, gPath.

Examples

Run this code
explode("vp1::vp2")
explode(vpPath("vp1", "vp2"))

Run the code above in your browser using DataLab