At the risk of stating the obvious:
- rm(.) # clears specific objects out of memory as soon as they're no
longer needed in the routine.
- sapply(ls(), function(x) object.size(get(x))) #lists all objects with
the memory each is using.
- rm(list=ls()) #clears out all objects, e.g. be
> -Original Message-
> From: r-help-boun...@r-project.org
> [mailto:r-help-boun...@r-project.org] On Behalf Of S. Few
> Sent: Thursday, September 10, 2009 1:46 PM
> To: r-help@r-project.org
> Subject: [R] R 2.9.2 memory max - object vector size
>
> Me:
>
> Win XP
> 4 gig ram
> R 2.9.2
>
2 matches
Mail list logo