5

I have a .RDS file that contains many lists, and that was created from a computer with more memory than the one from which I'm trying to read the same data.

Is there any way to access this content without loading it all into memory ?

Here is an example:

listOflists <- list(list1 = list(rnorm(1000)),
                    list2 = list(rnorm(1000)))
saveRDS(listOflists, "listOflists.RDS")

Is it possible to read list1 only, without loading the whole file ?

nassimhddd
  • 8,340
  • 1
  • 29
  • 44

0 Answers0