Brace Expansions

Performs brace expansions on strings. Made popular by Unix shells, brace expansion allows users to concisely generate certain character vectors by taking a single string and (recursively) expanding the comma-separated lists and double-period-separated integer and character sequences enclosed within braces in that string. The double-period-separated numeric integer expansion also supports padding the resulting numbers with zeros.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.2.1 by Trevor Davis, 6 months ago,

Report a bug at

Browse source code at

Authors: Trevor Davis [aut, cre] , Jon Schlinkert [aut] (Author of the 'braces' Javascript library)

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports stringr

Suggests testthat, V8

See at CRAN