The listcompr package offers some syntactic shortcuts to create lists, vectors and data frames containing values within a given range with given conditions. It is a light-weight package written in base R without any compiled code or dependencies to other packages.
The main functionality of listcompr: generate lists (gen.list), vectors, and data frames.
Generate lists/vectors of characters (gen.list.char) and named lists, vectors, and data frames.
Generate expressions (gen.list.expr) containing lists and vectors, using helpers for conditions (gen.logical.and).
To learn the basics of listcompr, start with the vignette:
vignette("introduction", package = "listcompr")
To submit bugs, feature requests or other comments, feel free to write a mail to me.