Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Description
Get or set the active compute context for RevoScaleR computations
Usage
  rxSetComputeContext(computeContext, ...) 
  rxGetComputeContext() 
Arguments
computeContext
character string specifying class name or description of the specific  class to instantiate, or an existing RxComputeContext object.  Choices include: "RxLocalSeq" or "local", "RxLocalParallel" or "localpar",  "RxSpark" or "spark",  "RxHadoopMR" or "hadoopmr",    and "RxForeachDoPar" or "dopar".
 ...
any other arguments are passed to the class generator determined from computeContext.
Value
rxSetComputeContext returns the previously active compute context invisibly.
rxGetComputeContext returns the active compute context.
Author(s)
Microsoft Corporation Microsoft Technical Support
See Also
RxComputeContext, rxOptions, rxGetOption rxExec.
Examples
 ## Not run:
origComputeContext <- rxSetComputeContext("localpar")
x <- 1:10
rxExec(print, x, elemType = "cores", timesToRun = 10)
rxSetComputeContext( origComputeContext )
## End(Not run)