Skip to content
Back to formatted view

Raw Message

Message-ID: <4EA845BC.7070606@gmail.com>
Date: 2011-10-26T17:39:08Z
From: Duncan Murdoch
Subject: SpatialLines
In-Reply-To: <77EF06D8-51A0-475E-B8D5-E31EDA21526C@me.com>

On 26/10/2011 1:11 PM, Mark Newcomb wrote:
> I'm hoping to use R for spatial analysis.  In working through examples in Chapt. 4 of Applied Spatial Data Analysis with R I've come across the following error in trying to plot lines with the meuse data set.  The text is verbatim from the book.
>
> >  m.sl<- SpatialLines(list(Lines(list(Line(cc)))))
> Error in Lines(list(Line(cc))) : Single ID required
>
> What does "Single ID required" mean?

That message is coming from a contributed package, not from base R.  You 
should say what package you're using, and you may need to contact the 
author or maintainer of it to get an answer.

Duncan Murdoch