Description Usage Arguments Changed Feb 19, 2015 by njf Author(s) References
Flatten a list without type coercion
1 | flatten2(x, len = 1024)
|
x |
a nested list |
len |
guess of output length |
Rather than calculating length, preallocate more than needed.
Tommy, Joshua Ulrich, Josh O'Brien, Neal Fultz
http://stackoverflow.com/questions/8139677/how-to-flatten-a-list-to-a-list-without-coercion
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.