the vignette to the library(parallel) mentions snow repeatedly (esp
differences in its implementation in parallel from the original).
unfortunately, it doesn't give an example or tutorial for
multi-machine use with sockets.
could someone please point me to a simple working example, where a
master just has both itself and a 4-core slave on a second machine
(IP), and wants to execute an mclapply on a list on both machines,
like
master.ip <- "localhost"
slave.ip <- "Rfriend at 192.168.2.10" ## has key ssh access
mclapply( 1:100, function(x) { cat(x); Sys.sleep(1); x } ) # on both, please
iaw
On Wed, Apr 18, 2012 at 1:01 PM, ivo welch <ivo.welch at gmail.com>
wrote:> Dear R experts:
>
> could someone please point me to a page that explains how to set up
> more than 1 machine for library parallel (which is quickly becoming my
> favorite!)
...