Loading the snowfall Package

Posted on
No user picture. bverhulst Joined: 03/08/2010
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,

Replied on Tue, 04/26/2011 - 18:06
Picture of user. mspiegel Joined: 07/31/2009

Are you certain there is an infinite loop? I'm asking because there are other behaviors that mimic an infinite loop, such as deadlock.
Replied on Wed, 04/27/2011 - 10:34
No user picture. bverhulst Joined: 03/08/2010

In reply to by mspiegel

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':

enquote

> sfInit(parallel=T, cpus=2)
(And then is just stays there not doing anything until I stop it)

Replied on Tue, 04/26/2011 - 18:22
Picture of user. mspiegel Joined: 07/31/2009

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.