[R] Error message when creating a dataframe

Erik Iverson eriki at ccbr.umn.edu
Mon Nov 1 17:17:02 CET 2010


I suggest using the most recent version of R (2.12.0 I believe)
and providing a reproducible example, showing us exactly how you
are creating this data.frame (assuming it still exhibits the
behavior).

--Erik

ANJAN PURKAYASTHA wrote:
> Hi,
> I'm creating a data frame of 24 columns and 45101 rows.
> Here is the error I get:
> R(147,0xa04d8720) malloc: *** mmap(size=184320) failed (error code=12)
> *** error: can't allocate region
> *** set a breakpoint in malloc_error_break to debug
> Any idea of what I can do to trouble-shoot?
> Attached is the session  info:
> R version 2.11.1 (2010-05-31)
> i386-apple-darwin9.8.0
> 
> locale:
> [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8
> 
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
> 
> 
> 
> Thanks in advance,
> Anjan
> 
>



More information about the R-help mailing list