Explode a path into its components.

Share:

Description

Explode a viewport path or grob path into its components.

Usage

1
2
3
4
5
explode(x)
## S3 method for class 'character'
explode(x)
## S3 method for class '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

1
2
explode("vp1::vp2")
explode(vpPath("vp1", "vp2"))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.