flatten2: Flatten a list without type coercion

Description Usage Arguments Changed Feb 19, 2015 by njf Author(s) References

Description

Flatten a list without type coercion

Usage

1
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)

Tommy, Joshua Ulrich, Josh O'Brien, Neal Fultz

References

http://stackoverflow.com/questions/8139677/how-to-flatten-a-list-to-a-list-without-coercion



Search within the stackoverflow package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.