Skip to content

grid overlay on polylines

10 messages · Robert J. Hijmans, Sarah Goslee, ldecola at comcast.net +1 more

#
Lee,
What are you trying the accomplish with this "overlay"? If you want to
do a spatial query (extract grid cell values covered by the line), you
can use raster::extract. If you want to rasterize (create a raster
where the cells covered by the line get a particular value), you can
use raster::rasterize.
Robert
On Mon, Nov 25, 2013 at 1:15 PM, <ldecola at comcast.net> wrote:
1 day later
#
Is your version of R up-to-date? If not, that might explain absence of spatstat from list.

Timothy G. Gregoire
J. P. Weyerhaeuser Professor of Forest Management
School of Forestry & Environmental Studies, Yale University
360 Prospect Street, New Haven, CT  06511-2104  U.S.A.

office: 1.203.432.9398  mobile: 1.203.508.4014, fax: 1.203.432.3809
timothy.gregoire at yale.edu
G&V sampling text: http://crcpress.com/product/isbn/9781584883708


-----Original Message-----
From: r-sig-geo-bounces at r-project.org [mailto:r-sig-geo-bounces at r-project.org] On Behalf Of ldecola at comcast.net
Sent: Wednesday, November 27, 2013 12:56 PM
Cc: r-sig-geo
Subject: Re: [R-sig-Geo] where's spatstat?

i install packages on my windows7 pc by clicking packages > install and then i select a mirror site, which brings up a list of 100s of packages in alpha order, including SpatioTemporal followed by spBayes. 

Lee De Cola. ----- Original Message -----
From: "Sarah Goslee" <sarah.goslee at gmail.com> 
To: ldecola at comcast.net 
Cc: "r-sig-geo" <r-sig-geo at r-project.org> 
Sent: Wednesday, November 27, 2013 12:43:59 PM 
Subject: Re: [R-sig-Geo] where's spatstat? 

Where are you looking? 

Not, apparently, on CRAN: 
http://cran.r-project.org/web/packages/spatstat/index.html 

Sarah
On Wed, Nov 27, 2013 at 12:34 PM, <ldecola at comcast.net> wrote:

  
    
#
You can can download the Windows binary from the link I provided and
use the install local packages option, or you can select a different
mirror.

You can also use the install.packages() command, and specify the
package name and mirror.

If your particular method and mirror are not working for you, there
are a multitude of other options.

But do note that the more information about OS, procedure, etc, you
include in your initial query, the more helpful the answers are likely
to be. "This does not work" is not a well-formed query.

Sarah
On Wed, Nov 27, 2013 at 12:55 PM, <ldecola at comcast.net> wrote:

  
    
#
On Wed, Nov 27, 2013 at 1:12 PM, <ldecola at comcast.net> wrote:
http://cran.r-project.org/web/packages/spatstat/index.html

Version: 1.34-1
Depends: R (? 3.0.2)


You need to upgrade.

Sarah