R: Write the code necessary to run a master process

writeCode {distcomp} | R Documentation

## Write the code necessary to run a master process

### Description

Once a computation is defined, worker sites are set up, the master process code is written by this function. The current implementation does not allow one to mix localhost URLs with non-localhost URLs

### Usage

    writeCode(defn, sites, outputFileName)

### Arguments

`defn` | the computation definition
`sites` | a named list of site URLs participating in the computation
`outputFileName` | the name of the output file to which code will be written

### Value

the value `TRUE` if all goes well

### See Also

`setupMaster`

[Package distcomp version 1.1 Index]