I would like to create an associative array in R from a string like "key1=values1;key2=value2". I know this can be done by double splitting and building the array manually but i was wondering if there’s already something i can work with.
I would like to create an associative array in R from a string like
Share
Using an environment as the “associative array” provides a straightforward solution.