nl: Newline-separated construction of lists

Description Usage Arguments Author(s) Examples

View source: R/nl.R

Description

This is an alternative syntax for constructing unnamed lists.

Usage

1
nl(expr, envir = parent.frame())

Arguments

expr

A braced expression

envir

the environment in which expr is to be evaluated. May also be NULL, a list, a data frame, a pairlist or an integer as specified to sys.call.

Author(s)

Based on an idea by Kevin Ushey

Examples

1
2
3
4
5
nl({
  1
  2
  3
})

krlmlr/nl documentation built on May 20, 2019, 6:17 p.m.

Related to nl in krlmlr/nl...