Backend | R Documentation |
This is an abstract class that serves as a base class for all concrete backend implementations. It defines the common properties that all concrete backends require.
This class cannot be instantiated. It needs to be extended by concrete
subclasses that implement the pure virtual methods. Instances of concrete
backend implementations can be conveniently obtained using the
BackendFactory
class.
parabar::BackendService
-> Backend
cluster
The cluster object used by the backend. For
SyncBackend
objects, this is a cluster object created by
parallel::makeCluster()
. For AsyncBackend
objects,
this is a permanent R
session created by callr::r_session
that
contains the parallel::makeCluster()
cluster object.
supports_progress
A boolean value indicating whether the backend implementation supports progress tracking.
active
A boolean value indicating whether the backend implementation has an active cluster.
parabar::BackendService$apply()
parabar::BackendService$clear()
parabar::BackendService$evaluate()
parabar::BackendService$export()
parabar::BackendService$get_output()
parabar::BackendService$lapply()
parabar::BackendService$peek()
parabar::BackendService$sapply()
parabar::BackendService$start()
parabar::BackendService$stop()
new()
Create a new Backend
object.
Backend$new()
Instantiating this class will throw an error.
clone()
The objects of this class are cloneable with this method.
Backend$clone(deep = FALSE)
deep
Whether to make a deep clone.
BackendService
, SyncBackend
,
AsyncBackend
, BackendFactory
, and
Context
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.