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 <gdemin@gmail.com>
LicenseGPL-2
Version0.6.7
URL https://github.com/gdemin/comprehenr
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("comprehenr")

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.