[R] free memory in large list?

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Fri Jan 20 17:36:29 CET 2012


?gc
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

Michael <comtech.usa at gmail.com> wrote:

>Hi all,
>
>Lets say I have a huge list which is indexed in the following format:
>
>mylist[[i]][[j]][[k]]
>
>where the size is 100 x 100 x 100000
>
>If I want to set
>
>mylist[[2]][[3]]=NULL
>
>How do I free the memory used by that sub-list?
>
>Thanks a lot!
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list