зеркало из https://github.com/Azure/AzureRMR.git
doc/vignette refresh
This commit is contained in:
Родитель
54020361c5
Коммит
f4deda01c4
2
R/pool.R
2
R/pool.R
|
@ -17,7 +17,7 @@
|
|||
#' - `pool_size` returns the size of the pool, or zero if the pool does not exist.
|
||||
#' - `pool_export` exports variables to the pool nodes. It calls `parallel::clusterExport` with the given arguments if the pool exists; otherwise it does nothing.
|
||||
#' - `pool_lapply`, `pool_sapply` and `pool_map` carry out work on the pool. They call `parallel::parLapply`, `parallel::parSapply` and `parallel::clusterMap` respectively if the pool exists, or `lapply`, `sapply` and `mapply` otherwise.
|
||||
#' - `pool_call` and `pool_evalq` execute code on the pool nodes. They call `parallel::clusterCall` and `parallel::clusterEvalQ` respectively if the pool exists, or the function `func` directly and `evalq` otherwise.
|
||||
#' - `pool_call` and `pool_evalq` execute code on the pool nodes. They call `parallel::clusterCall` and `parallel::clusterEvalQ` respectively if the pool exists, or the supplied function and `evalq` otherwise.
|
||||
#'
|
||||
#' The pool is persistent for the session or until terminated by `delete_pool`. You should initialise the pool by calling `init_pool` before running any code on it. This restores the original state of the pool nodes by removing any objects that may be in memory, and resetting the working directory to the master working directory.
|
||||
#'
|
||||
|
|
|
@ -54,7 +54,7 @@ A small API consisting of the following functions is currently provided for mana
|
|||
\item \code{pool_size} returns the size of the pool, or zero if the pool does not exist.
|
||||
\item \code{pool_export} exports variables to the pool nodes. It calls \code{parallel::clusterExport} with the given arguments if the pool exists; otherwise it does nothing.
|
||||
\item \code{pool_lapply}, \code{pool_sapply} and \code{pool_map} carry out work on the pool. They call \code{parallel::parLapply}, \code{parallel::parSapply} and \code{parallel::clusterMap} respectively if the pool exists, or \code{lapply}, \code{sapply} and \code{mapply} otherwise.
|
||||
\item \code{pool_call} and \code{pool_evalq} execute code on the pool nodes. They call \code{parallel::clusterCall} and \code{parallel::clusterEvalQ} respectively if the pool exists, or the function \code{func} directly and \code{evalq} otherwise.
|
||||
\item \code{pool_call} and \code{pool_evalq} execute code on the pool nodes. They call \code{parallel::clusterCall} and \code{parallel::clusterEvalQ} respectively if the pool exists, or the supplied function and \code{evalq} otherwise.
|
||||
}
|
||||
|
||||
The pool is persistent for the session or until terminated by \code{delete_pool}. You should initialise the pool by calling \code{init_pool} before running any code on it. This restores the original state of the pool nodes by removing any objects that may be in memory, and resetting the working directory to the master working directory.
|
||||
|
|
|
@ -20,9 +20,9 @@ A small API consisting of the following functions is currently provided for mana
|
|||
- `delete_pool` shuts down the background processes and deletes the pool.
|
||||
- `pool_exists` checks for the existence of the pool, returning a TRUE/FALSE value.
|
||||
- `pool_size` returns the size of the pool, or zero if the pool does not exist.
|
||||
- `pool_export` exports variables to the pool nodes. It calls `parallel::clusterExport` with the given arguments.
|
||||
- `pool_lapply`, `pool_sapply` and `pool_map` carry out work on the pool. They call `parallel::parLapply`, `parallel::parSapply` and `parallel::clusterMap` with the given arguments.
|
||||
- `pool_call` and `pool_evalq` execute code on the pool nodes. They call `parallel::clusterCall` and `parallel::clusterEvalQ` with the given arguments.
|
||||
- `pool_export` exports variables to the pool nodes. It calls `parallel::clusterExport` with the given arguments if the pool exists; otherwise it does nothing.
|
||||
- `pool_lapply`, `pool_sapply` and `pool_map` carry out work on the pool. They call `parallel::parLapply`, `parallel::parSapply` and `parallel::clusterMap` respectively if the pool exists, or `lapply`, `sapply` and `mapply` otherwise.
|
||||
- `pool_call` and `pool_evalq` execute code on the pool nodes. They call `parallel::clusterCall` and `parallel::clusterEvalQ` respectively if the pool exists, or the supplied function and `evalq` otherwise.
|
||||
|
||||
The pool is persistent for the session or until terminated by `delete_pool`. You should initialise the pool by calling `init_pool` before running any code on it. This restores the original state of the pool nodes by removing any objects that may be in memory, and resetting the working directory to the master working directory.
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче