Re: [R-sig-Geo] loop memory problem

2017-03-15 Thread marta azores
Hi again, I read in the guide of foreach that include the packages was a good idea. Now the parallel loop is runing but at the end I got only one spatial line (the first) I don't understand why is not adding the other spatiallines. Any idea? ###3)dopar% library(doSNOW) registerDoSEQ() registerDo

Re: [R-sig-Geo] loop memory problem

2017-03-14 Thread marta azores
> #answer Marcel in r-sig-geo forum: >> #1) maybe you can first make your calculations and afterwards plot the >> result. >> #It might be faster this way. >> >> #2) maybe you can use the parallel for each loop in order to use the >> whole performance of your cpu >> >> #3) loops in R are really slow

Re: [R-sig-Geo] loop memory problem

2017-03-07 Thread Marcel Gangwisch
Hi Marta, for your loop: 1) maybe you can first make your calculations and afterwards plot the result. It might be faster this way. 2) maybe you can use the parallel for each loop in order to use the whole performance of your cpu 3) loops in R are really slow in general.. you could also thi

Re: [R-sig-Geo] loop memory problem

2017-03-07 Thread Marcel Gangwisch
Hi Marta, for your loop: 1) maybe you can first make your calculations and afterwards plot the result. It might be faster this way. 2) maybe you can use the parallel for each loop in order to use the whole performance of your cpu 3) loops in R are really slow in general.. you could also thi

[R-sig-Geo] loop memory problem

2017-03-06 Thread marta azores
Hi all the members, I have an script with a loop. It's working properly with a few points. However, when I tried to run all my database 90.000 points, the loop stopped each 3.000 points. And it takes 8hours for run 3.000 points. My computer has 32GB of RAM, intel corei7 6700HQ CPU @ 2.60GHz . Do