Nested Dictionary in R <p>I'm more used to a python environment. Is there a way to produce a dictionary/list that is fully dynamic. I.e. that I could create flexible data structures say that relate to a particular number such as </p> <pre><code>[1:["var_a":6, "var_b":3],2:[..]] </code></pre> <p>Where I will not know how may elements in each list. Is there a way to do this?</p>