comprehenr: List Comprehensions

Provides 'Python'-style list comprehensions. List comprehension expressions use usual loops (for(), while() and repeat()) and usual if() as list producers. In many cases it gives more concise notation than standard "*apply + filter" strategy.

Getting started

Package details

AuthorGregory Demin [aut, cre]
MaintainerGregory Demin <>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the comprehenr package in your browser

Any scripts or data that you put into this service are public.

comprehenr documentation built on June 17, 2019, 9:02 a.m.