Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

flatten2

Flatten a list without type coercion


Description

Flatten a list without type coercion

Usage

flatten2(x, len = 1024)

Arguments

x

a nested list

len

guess of output length

Changed Feb 19, 2015 by njf

Rather than calculating length, preallocate more than needed.

Author(s)

References


stackoverflow

Stack Overflow's Greatest Hits

v0.7.0
CC BY-SA 4.0
Authors
Neal Fultz <nfultz@gmail.com> and the StackOverflow.com community
Initial release
2020-01-03

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.