Re: [R-sig-Geo] Help - calling OpenBugs through R2OpenBugs problem

2013-11-28 Thread Yuster Ronoh
Hi All I try to follow the above example but i got stuck in reading Spatial Data Frame any Idea or Help? Here are my R codes with error. I am using RStudio Version 3.0.2 ,Windows 7 32Bit Loading required package: sp library(rgdal)rgdal: version: 0.8-12, (SVN revision 492) Geospatial Data

Re: [R-sig-Geo] Help - calling OpenBugs through R2OpenBugs problem

2013-11-28 Thread James Rooney
Hi Yuster, Did you download the correct shapefile into C:/Users/Public/shapefile ?? There are alot of files there and I could not link directly to the file due to the Disclaimer page. The other thing I find if I am having these kinds of errors from readOGR, is to paste the full pathway in

Re: [R-sig-Geo] Help - calling OpenBugs through R2OpenBugs problem

2013-11-28 Thread Yuster Ronoh
Hi James I Downloaded the correct file from http://www.cso.ie/en/census/census2011boundaryfiles/ as Census2011_Electoral_Divisions_generalised20m zipfolder of 4mb data size ,I set working Directory as(C:/Users/Public/shapefile) in shapefile i pasted the downloaded folder as zip file I try to both

Re: [R-sig-Geo] Help - calling OpenBugs through R2OpenBugs problem

2013-11-28 Thread Yuster Ronoh
Yes I unzip the folder to no avail On Thu, Nov 28, 2013 at 1:56 PM, James Rooney roone...@tcd.ie wrote: Hi Yuster, Did you unzip the file? Sorry I forgot to say that in instructions. You need to put the unzipped file into that directory. James

Re: [R-sig-Geo] Help - calling OpenBugs through R2OpenBugs problem

2013-11-28 Thread James Rooney
I don't know then Yuster. Is your rgdal package up to date ? From: Yuster Ronoh [yust...@gmail.com] Sent: 28 November 2013 11:08 To: James Rooney Cc: r-sig-geo@r-project.org Subject: Re: [R-sig-Geo] Help - calling OpenBugs through R2OpenBugs problem Yes

[R-sig-Geo] rasterize SpatialLines

2013-11-28 Thread Alexandre Villers
Dear list, I'm trying to rasterize a SpatialLines object, which represents the path of an individual (created from the points locations). I would like to know the number of times he visited a given pixel. Following the example (slightly modified) in raster::rasterize cds1 -

Re: [R-sig-Geo] rasterize SpatialLines

2013-11-28 Thread ldecola
don't forget to do this at multiple raster resolutions in order to compute the box-count dimension! Lee De Cola, PhD, MCP. DATA to Insight ldec...@comcast.net Reston, Virginia 703 709 6972 571 315 0577 mobile - Original Message - From: Alexandre Villers

[R-sig-Geo] clusterR: error when using a cluster object passed as an argument to function

2013-11-28 Thread Guillaume Drolet
Hi, I have a function, say fun1, in which I create a SNOW cluster object using: beginCluster(nodes) cl - getCluster() Then I export variables to the cores (nodes) and load some libraries: clusterExport(cl, c(tmpdir, maxmemory, chunksize)) clusterEvalQ(cl, c(library(raster), library(rgdal),