Check out example codes for "list to vector r". It will help you in understanding the concepts better.

Code Example 1

unlist(myList, use.names=FALSE)

Learn ReactJs, React Native from akashmittal.com