expandingList is a fast implementation of a list that can be
dynamically appended to and turned into a standard R
Initial list capacity or length.
The code is copied from Jan Kanis at http://stackoverflow.com/a/32870310.
A closure named expandingList with functions
expandingList$double.size doubles the size of the list
expandingList$add adds an element to the list
expandingList$as.list converts the
a standard R
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.