Many thanks, that is very helpful.
Tolga
Luke Tierney <[EMAIL PROTECTED]>
10/09/2008 14:05
To
[EMAIL PROTECTED]
cc
[EMAIL PROTECTED], r-help@r-project.org
Subject
Re: [R] cluster/snow question
ls() looks in its calling environment, which in this case would be the
internals of th
[EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
r-help@r-project.org
Subject
Re: [R] cluster/snow question
Hi Tolga,
I am not sure why ls() is showing only "args" and "fun".
But x is at the nodes. Try this:
clusterEvalQ(cl,x<-x+3)
[[1]]
[1] 4
[[2]]
[1] 4
clusterCall(
008 10:45
Please respond to
[EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
r-help@r-project.org
Subject
Re: [R] cluster/snow question
Hi Tolga,
I am not sure why ls() is showing only "args" and "fun".
But x is at the nodes. Try this:
clusterEvalQ(cl,x<-x+3)
[[1]]
[1] 4
Hi Tolga,
I am not sure why ls() is showing only "args" and "fun".
But x is at the nodes. Try this:
clusterEvalQ(cl,x<-x+3)
[[1]]
[1] 4
[[2]]
[1] 4
clusterCall(cl,function()x+5)
[[1]]
[1] 9
[[2]]
[1] 9
Best
Markus
[EMAIL PROTECTED] schrieb:
Dear R Users,
Apologies for a somewhat basic
Dear R Users,
Apologies for a somewhat basic cluster question. I am trying to come to
grips with how variables are instantiated within the environment of each
node in a cluster. When I run the following code, I expect to see the
variable "x" in the environment of each node, but fail to do so. W
r-help@r-project.org
Subject
Re: [R] cluster/snow question
On Tue, 9 Sep 2008, [EMAIL PROTECTED] wrote:
> Hi Markus,
>
> Many thanks. Is the "cluster" variable you mention below available in
the
> environment of the nodes ? Specifically, within that environment, how
>
Thanks,
Tolga
Markus Schmidberger <[EMAIL PROTECTED]>
09/09/2008 07:11
Please respond to
[EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
r-help@r-project.org
Subject
Re: [R] cluster/snow question
Hi Tolga,
in SNOW you have to start a cluster with the command
> library(snow)
> cl
Markus Schmidberger <[EMAIL PROTECTED]>
09/09/2008 07:11
Please respond to
[EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
r-help@r-project.org
Subject
Re: [R] cluster/snow question
Hi Tolga,
in SNOW you have to start a cluster with the command
> library(snow)
> cluster <-
Hi Tolga,
in SNOW you have to start a cluster with the command
> library(snow)
> cluster <- makeCluster(#nodes)
The object "cluster" is a list with an object for each node and each
object again is a list with all informations (rank, comm, tags)
The size of the cluster is the length of the lis
Dear R Users,
I am attempting to use the snow package for clustering. Is there a way to
identfy, in the environment of each node, a rank for that node and also,
the total size of the cluster ?
By way of analogy, I am looking for the functions in snow equivalent to
mpi.comm.rank() and mpi.comm
10 matches
Mail list logo