Learn R Programming

grid (version 3.3.1)

explode: Explode a path into its components.

Description

Explode a viewport path or grob path into its components.

Usage

explode(x) "explode"(x) "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