Check out example codes for "save large nested list to text R". It will help you in understanding the concepts better.

Code Example 1

#Save
saveRDS(your_list, './data/your_list.Rds')

#Open
your_list <- readRDS('./data/your_list.Rds')

Learn ReactJs, React Native from akashmittal.com