The functions in
harvestr can cache results for faster and
interuptible simulations. This option defaults to
FALSE but can be
chosen by specifying the
cache parameter in any of the functions
that produce results.
The caching is performed by saving a RData file in a specified caching
directory. The default directory is named "harvestr-cache" and resides
under the working directory. This can be specified by setting
option. Files in this directory
use file names derived from hashes of the expression to evaluate. Do not
modify the file names.
The following options control behavior and default values for harvestr.
harvestr.use.cache=FALSE - Should results be cached for fault
tollerance and accelerated reproducability?
harvestr.cache.dir="harvestr-cache" - The directory to use for
storing cached results.
harvestr.time=FALSE - Should results be timed?
harvestr.use.try=!interactive() - Should the vectorized calls use try
to increase fault tollerance?
harvestr.try.silent=FALSE - Should try be run silently?
harvestr.try.summary=TRUE - Print a result if errors were found?
harvestr.parallel - Run results in parallel? Default is to run in parallel if a parallel back end is registered and the call is the uppermost harvestr call.
harvestr.progress - Use a progress bar? Default is to show a bar in interactive mode for top level call, but the type is platform dependent.
Andrew Redd <amredd_at_gmail.com>
The harvestr package is a framework for parallel reproducible simulations.
The functions to know about are:
gather - which gathers parallel seeds.
farm - which uses the saved seeds from gather to replicate an expression,
once for each seed.
harvest - which uses objects from farm, that have saved seed attributes,
to continue evaluation from where farm finished.
reap - is used by harvest for a single item
plant - is used to set seeds for a list of predefined objects so that harvest
can be used on it.
sprout - Generate independent sub-streams.
graft - Replicate and object in independent substreams
of random numbers.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.