Hi All,
I am not sure that I should post this question here or on a more general R discussion board, but here goes.
I am trying to use the snowfall package with OpenMx to use the independent = TRUE function in the mxModel command.
I am able to load the snowfall package, but when I try sfInit(parallel=T, cpus=2) the computer is fed into an infinite loop.
The first time that this happened, Windows asked for special permission to go through the Firewall (which I allowed).
Has anyone else had this problem and, if so, how did you solve it.
Thanks,
Are you certain there is an infinite loop? I'm asking because there are other behaviors that mimic an infinite loop, such as deadlock.
I am not certain that it is an infinite loop.
I tried to run R as the administrator, and it didn't change anything.
I have found several posts on various blogs where the windows firewall settings won't let the snowfall package access multiple cores. So I turned off the firewall and still nothing.
This is all that I see:
> require (snowfall)
Loading required package: snowfall
Loading required package: snow
Attaching package: 'snow'
The following object(s) are masked from 'package:base':
> sfInit(parallel=T, cpus=2)
(And then is just stays there not doing anything until I stop it)
As a followup, snowfall is working on the following configuration: 64-bit system running Windows 7 Enterprise using 32-bit R 2.13.0 where my account is a member of the Administrators group.
Are you using windows 7? Other people have been having problems with snowfall: http://tolstoy.newcastle.edu.au/R/e8/help/09/12/8523.html. You could try running R with administrative privileges.