lprint: Print a lazy stream object

Description Usage Arguments Examples

Description

print a lazy stream object

Usage

1
2
3
4
5
6
7
8
lprint(x, elem_max = 50, depth_max = 3, ...)

## S3 method for class 'lcons'
print(x, elem_max = 50, depth_max = 3, ...)

lforce(x, elem_max = Inf, depth_max = Inf)

lforce_llist(x, elem_max = 100)

Arguments

x

a lazy stream

elem_max

maximum conversion size

depth_max

maximum conversion depth: drill down

...

for generic print()

Examples

1
2
3
# convert lazy object to R's list
lforce(llist(1,2,3)) # => list(1,2,3))
lforce(lcons(1, 2)) # => list(car = 1, cdr = 2)

TobCap/lazystreamr documentation built on May 9, 2019, 4:50 p.m.