[R-sig-Geo] Problem with using multicore resample in Raster package

2015-02-27 Thread Bastien.Ferland-Raymond
Dear all, I wrote a code last year that was running well. I've retried the same code this month and it's not working anymore. The problem arise from using cluster to do resampling in the raster package on multiple threads. I've tried on two computers, both have the problem. Here is a

Re: [R-sig-Geo] Problem with using multicore resample in Raster package

2015-02-27 Thread Robert J. Hijmans
Bastien, This arises from a change in CRAN policy (the requirement to use requireNamespace instead of require) which somehow creates a problem for snow::recvOneData. This is all a bit mysterious to me. The development version uses require again for the snow package such that things work as they

Re: [R-sig-Geo] Problem with using multicore resample in Raster package

2015-02-27 Thread Michael Treglia
Haven't tried to troubleshoot the problem, but your code works fine for me. Looks like I'm running a slightly older versions of packages (notably, for raster). My session info is below. Here's my session info in case it helps: R version 3.1.2 (2014-10-31) Platform: x86_64-w64-mingw32/x64