Skip to content
Prev 133 / 2152 Next

snow, socket cluster: problem with path to rscript

Hi Matthieu,

On Mon, Apr 13, 2009 at 4:46 AM, Matthieu Stigler
<matthieu.stigler at gmail.com> wrote:
[snip]
I think the immediate problem is the way that you're creating
the first argument to makeCluster.  Your code is concatenating
host212Full to itself, creating a list of length 4 with elements
that are not lists. I think you want to create a list of two lists,
each of length 2.

One way to create the appropriate list (which worked for me on
R 2.8.1) is:

makeCluster(rep(list(host212Full), 2), type = "SOCK")

I hope that helps.