[R] address (nil), cause 'memory not mapped'

Roger Bivand Roger.Bivand at nhh.no
Wed Aug 20 12:48:44 CEST 2008


Juan Manuel Barreneche <jumanbar <at> gmail.com> writes:

> 
> just to mention that the loop was already running for about 20 hours...
> 
> Juan
> 
> On Tue, Aug 19, 2008 at 6:31 PM, Juan Manuel Barreneche
> <jumanbar <at> gmail.com>wrote:
> 
> > Dear users,
> > I got this problem and i don't have a clue of what it could be happening...
> >
> > The context: i'm running a loop in which i extract information from a
> > raster map (I work with GRASS and R, using spgrass6 package), and rearrange
> > it to create a matrix. 
...
> > Even so, the message "address (nil), cause 'memory not mapped'" appeared,
> > and i really don't have a clue of what it means.
> >

This question was also posted to the statgrass list, where it belongs. 
The thread will continue there (cross-posting is not a good idea). 
The messages so far do not contain information about what is happening, 
other than that a system() call from the R side, provoking an issue 
in running a GRASS module, should not bring R down. I feel that 
the general workflow is not adequate, and that very possibly 
the same instance of R should not be left running (script the other 
way round from the shell or similar)

Roger



More information about the R-help mailing list