parallelApplys
01 Syntax
SMRUCC.Rsharp.Runtime.Internal.Invokes.LinqPipeline.parallelApplys
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| parallelList | 1 | |
| deepCloneContext | 1 | try to make a deep clone of the environment context for run parallel code. |
03 Members
Parameters
| Name | Type | Description |
|---|---|---|
list | IDictionary | - |
apply | RFunction | - |
group | Int32 | - |
n_threads | Int32 | - |
verbose | Boolean | - |
envir | Environment | - |
Returns
the returns result value sequence keeps the same order with the input sequence.
deepCloneContext(Environment,
String)try to make a deep clone of the environment context for run parallel code.
Parameters
| Name | Type | Description |
|---|---|---|
env | Environment | due to the reason of make deep copy of this environment context, so that the global variable value update in the parallel code may not effect the environment context in the main thread. in this point of view, keep less global variable reference will be better in parallel |
Returns
modification of the environment context in the parallel closure will not affects the parent environment context env.