done {mspath}R Documentation

Finished with a Calculator

Description

When you no longer need a calculator, call this function. It will perform any necessary cleanup.

Usage

done(calc)

Arguments

calc The calculator you no longer need. Should be mspathCalculator-class or an extension.

Details

This is a generic function. You should call it even if you don't think any cleanup is necessary. It ensures proper cleanup of the C++ objects.

Value

Returns the updated calc, but you shouldn't really refer to either the old or new value after calling this function.

Methods

calc = "mspathCalculator"
Clean up a regular calculator.
calc = "mspathDistributedCalculator"
Clean up a distributed calculator, including letting all slaves no the computation is done. However, the overall session will remain up for future use.

Note

You should call this function even if you don't think any cleanup is necessary. You don't know what is happening behind the scenes.

Author(s)

Ross Boylan

See Also

mspathCalculator, mspathDistributedCalculator


[Package mspath version 0.9-9 Index]