>
> On 13 Jun 2017, at 23:05, Bond, Stephen wrote:
>
> Hi useRs,
>
> I am running a foreach loop and hoped to get a small message when it hits a
> multiple of 1000, but it does not work.
>
>p <- foreach(i=1:1, .combine='c') %dopar% {
>if(i%%1000==0) print(i)
>
Hi useRs,
I am running a foreach loop and hoped to get a small message when it hits a
multiple of 1000, but it does not work.
p <- foreach(i=1:1, .combine='c') %dopar% {
if(i%%1000==0) print(i)
sqrt(i)
}
What is the proper way to do it.
Thanks everybo
2 matches
Mail list logo