diff --git a/news/index.html b/news/index.html index 45d18e8c..a79dd316 100644 --- a/news/index.html +++ b/news/index.html @@ -164,11 +164,11 @@ +

Bug Fixes

diff --git a/pkgdown.yml b/pkgdown.yml index fac9a401..4d4ae7ec 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -11,7 +11,7 @@ articles: future-6-future-api-backend-specification: future-6-future-api-backend-specification.html future-7-for-package-developers: future-7-for-package-developers.html future-8-how-future-is-validated: future-8-how-future-is-validated.html -last_built: 2023-12-22T07:44Z +last_built: 2024-01-19T22:42Z urls: reference: https://future.futureverse.org/reference article: https://future.futureverse.org/articles diff --git a/reference/backtrace.html b/reference/backtrace.html index 64eac89b..d6a252b5 100644 --- a/reference/backtrace.html +++ b/reference/backtrace.html @@ -204,9 +204,9 @@

Examples

#> [[1]] #> tryCatch(withCallingHandlers({ #> NULL -#> saveRDS(do.call(do.call, c(readRDS("/tmp/henrik/RtmpAOqFOZ/callr-fun-defa833397d72"), +#> saveRDS(do.call(do.call, c(readRDS("/tmp/henrik/RtmpVnGYLM/callr-fun-127f263888f8c"), #> list(envir = .GlobalEnv, quote = TRUE)), envir = .GlobalEnv, -#> quote = TRUE), file = "/tmp/henrik/RtmpAOqFOZ/callr-res-defa87a1a604a", +#> quote = TRUE), file = "/tmp/henrik/RtmpVnGYLM/callr-res-127f2648bed1f5", #> compress = FALSE) #> flush(stdout()) #> flush(stderr()) @@ -231,7 +231,7 @@

Examples

#> if (!is.na(cut)) { #> e2$trace <- e2$trace[-(1:cut), ] #> } -#> saveRDS(list("error", e2, e), file = paste0("/tmp/henrik/RtmpAOqFOZ/callr-res-defa87a1a604a", +#> saveRDS(list("error", e2, e), file = paste0("/tmp/henrik/RtmpVnGYLM/callr-res-127f2648bed1f5", #> ".error")) #> } #> }, interrupt = function(e) { @@ -253,7 +253,7 @@

Examples

#> if (!is.na(cut)) { #> e2$trace <- e2$trace[-(1:cut), ] #> } -#> saveRDS(list("error", e2, e), file = paste0("/tmp/henrik/RtmpAOqFOZ/callr-res-defa87a1a604a", +#> saveRDS(list("error", e2, e), file = paste0("/tmp/henrik/RtmpVnGYLM/callr-res-127f2648bed1f5", #> ".error")) #> } #> }, callr_message = function(e) { @@ -298,9 +298,9 @@

Examples

#> [[8]] #> withCallingHandlers({ #> NULL -#> saveRDS(do.call(do.call, c(readRDS("/tmp/henrik/RtmpAOqFOZ/callr-fun-defa833397d72"), +#> saveRDS(do.call(do.call, c(readRDS("/tmp/henrik/RtmpVnGYLM/callr-fun-127f263888f8c"), #> list(envir = .GlobalEnv, quote = TRUE)), envir = .GlobalEnv, -#> quote = TRUE), file = "/tmp/henrik/RtmpAOqFOZ/callr-res-defa87a1a604a", +#> quote = TRUE), file = "/tmp/henrik/RtmpVnGYLM/callr-res-127f2648bed1f5", #> compress = FALSE) #> flush(stdout()) #> flush(stderr()) @@ -325,7 +325,7 @@

Examples

#> if (!is.na(cut)) { #> e2$trace <- e2$trace[-(1:cut), ] #> } -#> saveRDS(list("error", e2, e), file = paste0("/tmp/henrik/RtmpAOqFOZ/callr-res-defa87a1a604a", +#> saveRDS(list("error", e2, e), file = paste0("/tmp/henrik/RtmpVnGYLM/callr-res-127f2648bed1f5", #> ".error")) #> } #> }, interrupt = function(e) { @@ -347,7 +347,7 @@

Examples

#> if (!is.na(cut)) { #> e2$trace <- e2$trace[-(1:cut), ] #> } -#> saveRDS(list("error", e2, e), file = paste0("/tmp/henrik/RtmpAOqFOZ/callr-res-defa87a1a604a", +#> saveRDS(list("error", e2, e), file = paste0("/tmp/henrik/RtmpVnGYLM/callr-res-127f2648bed1f5", #> ".error")) #> } #> }, callr_message = function(e) { @@ -355,13 +355,13 @@

Examples

#> }) #> #> [[9]] -#> saveRDS(do.call(do.call, c(readRDS("/tmp/henrik/RtmpAOqFOZ/callr-fun-defa833397d72"), +#> saveRDS(do.call(do.call, c(readRDS("/tmp/henrik/RtmpVnGYLM/callr-fun-127f263888f8c"), #> list(envir = .GlobalEnv, quote = TRUE)), envir = .GlobalEnv, -#> quote = TRUE), file = "/tmp/henrik/RtmpAOqFOZ/callr-res-defa87a1a604a", +#> quote = TRUE), file = "/tmp/henrik/RtmpVnGYLM/callr-res-127f2648bed1f5", #> compress = FALSE) #> #> [[10]] -#> do.call(do.call, c(readRDS("/tmp/henrik/RtmpAOqFOZ/callr-fun-defa833397d72"), +#> do.call(do.call, c(readRDS("/tmp/henrik/RtmpVnGYLM/callr-fun-127f263888f8c"), #> list(envir = .GlobalEnv, quote = TRUE)), envir = .GlobalEnv, #> quote = TRUE) #> @@ -379,8 +379,8 @@

Examples

#> pkgdown.internet = pkgdown_internet) #> pkgdown::build_site(...) #> }), base::quote(list(pkg = list(package = "future", version = "1.33.1", -#> lang = "en", src_path = "/tmp/henrik/RtmpAOqFOZ/future", -#> dst_path = "/tmp/henrik/RtmpAOqFOZ/future/docs", install_metadata = FALSE, +#> lang = "en", src_path = "/tmp/henrik/RtmpVnGYLM/future", +#> dst_path = "/tmp/henrik/RtmpVnGYLM/future/docs", install_metadata = FALSE, #> desc = <environment>, meta = list(url = "https://future.futureverse.org", #> home = list(links = list(list(text = "Roadmap/Milestones", #> href = "https://github.com/HenrikBengtsson/future/milestones"), @@ -1421,7 +1421,7 @@

Examples

#> ")"), list("(character string) Controls whether the identified globals should be scanned for so called ", #> list("references"), " (e.g. external pointers and connections) or not. It is unlikely that another ", #> list(), " process (\"worker\") can use a global that uses a internal reference of the master ", -#> list(), " process - we call such objects ", +#> list(), " process---we call such objects ", #> list("non-exportable globals"), ".\n", #> "If this option is ", list("\"error\""), #> ", an informative error message is produced if a non-exportable global is detected.\n", @@ -1480,7 +1480,7 @@

Examples

#> list("\n", "\n", list("\n", list(list(list( #> "future.startup.script"), ":"), list("(character vector or a logical) Specifies zero of more future startup scripts to be sourced when the ", #> list("future"), " package is ", list("attached"), -#> ". It is only the first existing script that is sourced. If none of the specified files exist, nothing is sourced - there will be neither a warning nor an error.\n", +#> ". It is only the first existing script that is sourced. If none of the specified files exist, nothing is sourced---there will be neither a warning nor an error.\n", #> "If this option is not specified, environment variable ", #> list("R_FUTURE_STARTUP_SCRIPT"), " is considered, where multiple scripts may be separated by either a colon (", #> list(":"), ") or a semicolon (", list(";"), @@ -1695,7 +1695,7 @@

Examples

#> "\n", "\n", list(list("persistent"), list("If TRUE, non-existing globals (= identified in expression but not found in memory) are always silently ignored and assumed to be existing in the evaluation environment. If FALSE, non-existing globals are by default ignore, but may also trigger an informative error if option ", #> list("future.globals.onMissing"), " in ", #> list("\"error\""), " (should only be used for troubleshooting).")), -#> "\n", "\n", list(list("maxSize"), list("The maximum allowed total size (in bytes) of globals - for\n", +#> "\n", "\n", list(list("maxSize"), list("The maximum allowed total size (in bytes) of globals---for\n", #> "the purpose of preventing too large exports / transfers happening by\n", #> "mistake. If the total size of the global objects are greater than this\n", #> "limit, an informative error message is produced. If\n", @@ -2026,18 +2026,20 @@

Examples

#> " .call = TRUE,\n", " .cleanup = TRUE,\n", #> " .init = TRUE\n", ")\n"), "\n", list("\n", #> list(list("strategy"), list("The evaluation function (or name of it) to use\n", -#> "for resolving a future. If NULL, then the current strategy is returned.")), +#> "for resolving a future. If ", list("NULL"), +#> ", then the current strategy is returned.")), #> "\n", "\n", list(list(list()), list("Additional arguments overriding the default arguments\n", #> "of the evaluation function. Which additional arguments are supported\n", #> "depends on what evaluation function is used, e.g. several support\n", -#> "argument ", list("workers"), " but not all. For details, see the individual\n", +#> "argument ", list("workers"), " but not all. For details, see the individual\n", #> "functions of which some are linked to below.")), -#> "\n", "\n", list(list("substitute"), list("If TRUE, the ", -#> list("strategy"), " expression is\n", list( -#> "substitute()"), ":d, otherwise not.")), -#> "\n", "\n", list(list(".skip"), list("(internal) If ", -#> list("TRUE"), ", then attempts to set a strategy\n", -#> "that is the same as what is currently in use, will skipped.")), +#> "\n", "\n", list(list("substitute"), list("If ", +#> list("TRUE"), ", the ", list("strategy"), +#> " expression is\n", list("substitute()"), +#> ":d, otherwise not.")), "\n", "\n", list( +#> list(".skip"), list("(internal) If ", list( +#> "TRUE"), ", then attempts to set a strategy\n", +#> "that is the same as what is currently in use, will be skipped.")), #> "\n", "\n", list(list(".call"), list("(internal) Used for recording the call to this function.")), #> "\n", "\n", list(list(".cleanup"), list("(internal) Used to stop implicitly started clusters.")), #> "\n", "\n", list(list(".init"), list("(internal) Used to initiate workers.")), @@ -2092,9 +2094,9 @@

Examples

#> "for this.\n")), "\n", "\n", list(list("For package developers"), #> list("\n", "\n", "Please refrain from modifying the future strategy inside your packages /\n", #> "functions, i.e. do not call ", list("plan()"), -#> " in your code. Instead, leave\n", "the control on what backend to use to the end user. This idea is part of\n", -#> "the core philosophy of the future framework - as a developer you can never\n", -#> "know what future backends the user have access to. Moreover, by not making\n", +#> " in your code. Instead, leave\n", "the control on what backend to use to the end user. This idea is part of\n", +#> "the core philosophy of the future framework---as a developer you can never\n", +#> "know what future backends the user have access to. Moreover, by not making\n", #> "any assumptions about what backends are available, your code will also work\n", #> "automatically with any new backends developed after you wrote your code.\n", #> "\n", "If you think it is necessary to modify the future strategy within a\n", @@ -2110,8 +2112,8 @@

Examples

#> "also rely on the future framework, so it is important to avoid stepping on\n", #> "others' toes."), "\n")), "\n", "\n", list( #> list("Using plan() in scripts and vignettes"), -#> list("\n", "\n", "When writing scripts or vignettes that uses futures, try to place any\n", -#> "call to ", list("plan()"), " as far up (as early on) in the code as possible.\n", +#> list("\n", "\n", "When writing scripts or vignettes that use futures, try to place any\n", +#> "call to ", list("plan()"), " as far up (i.e. as early on) in the code as possible.\n", #> "This will help users to quickly identify where the future plan is set up\n", #> "and allow them to modify it to their computational resources.\n", #> "Even better is to leave it to the user to set the ", @@ -2120,10 +2122,10 @@

Examples

#> "If a ", list(list(".future.R")), " exists in the current directory and / or in\n", #> "the user's home directory, it is sourced when the ", #> list("future"), " package is\n", list("loaded"), -#> ". Because of this, the ", list(".future.R"), +#> ". Because of this, the ", list(".future.R"), #> " file provides a\n", "convenient place for users to set the ", #> list("plan()"), ".\n", "This behavior can be controlled via an ", -#> list(), " option - see\n", list("future options"), +#> list(), " option---see\n", list("future options"), #> " for more details.\n")), "\n", "\n", list( #> "\n", "a <- b <- c <- NA_real_\n", "\n", "# An sequential future\n", #> "plan(sequential)\n", "f <- future({\n", " a <- 7\n", @@ -2608,8 +2610,8 @@

Examples

#> pkgdown.internet = pkgdown_internet) #> pkgdown::build_site(...) #> })(pkg = base::quote(list(package = "future", version = "1.33.1", -#> lang = "en", src_path = "/tmp/henrik/RtmpAOqFOZ/future", -#> dst_path = "/tmp/henrik/RtmpAOqFOZ/future/docs", install_metadata = FALSE, +#> lang = "en", src_path = "/tmp/henrik/RtmpVnGYLM/future", +#> dst_path = "/tmp/henrik/RtmpVnGYLM/future/docs", install_metadata = FALSE, #> desc = <environment>, meta = list(url = "https://future.futureverse.org", #> home = list(links = list(list(text = "Roadmap/Milestones", #> href = "https://github.com/HenrikBengtsson/future/milestones"), @@ -3650,7 +3652,7 @@

Examples

#> ")"), list("(character string) Controls whether the identified globals should be scanned for so called ", #> list("references"), " (e.g. external pointers and connections) or not. It is unlikely that another ", #> list(), " process (\"worker\") can use a global that uses a internal reference of the master ", -#> list(), " process - we call such objects ", +#> list(), " process---we call such objects ", #> list("non-exportable globals"), ".\n", #> "If this option is ", list("\"error\""), #> ", an informative error message is produced if a non-exportable global is detected.\n", @@ -3709,7 +3711,7 @@

Examples

#> list("\n", "\n", list("\n", list(list(list( #> "future.startup.script"), ":"), list("(character vector or a logical) Specifies zero of more future startup scripts to be sourced when the ", #> list("future"), " package is ", list("attached"), -#> ". It is only the first existing script that is sourced. If none of the specified files exist, nothing is sourced - there will be neither a warning nor an error.\n", +#> ". It is only the first existing script that is sourced. If none of the specified files exist, nothing is sourced---there will be neither a warning nor an error.\n", #> "If this option is not specified, environment variable ", #> list("R_FUTURE_STARTUP_SCRIPT"), " is considered, where multiple scripts may be separated by either a colon (", #> list(":"), ") or a semicolon (", list(";"), @@ -3924,7 +3926,7 @@

Examples

#> "\n", "\n", list(list("persistent"), list("If TRUE, non-existing globals (= identified in expression but not found in memory) are always silently ignored and assumed to be existing in the evaluation environment. If FALSE, non-existing globals are by default ignore, but may also trigger an informative error if option ", #> list("future.globals.onMissing"), " in ", #> list("\"error\""), " (should only be used for troubleshooting).")), -#> "\n", "\n", list(list("maxSize"), list("The maximum allowed total size (in bytes) of globals - for\n", +#> "\n", "\n", list(list("maxSize"), list("The maximum allowed total size (in bytes) of globals---for\n", #> "the purpose of preventing too large exports / transfers happening by\n", #> "mistake. If the total size of the global objects are greater than this\n", #> "limit, an informative error message is produced. If\n", @@ -4255,18 +4257,20 @@

Examples

#> " .call = TRUE,\n", " .cleanup = TRUE,\n", #> " .init = TRUE\n", ")\n"), "\n", list("\n", #> list(list("strategy"), list("The evaluation function (or name of it) to use\n", -#> "for resolving a future. If NULL, then the current strategy is returned.")), +#> "for resolving a future. If ", list("NULL"), +#> ", then the current strategy is returned.")), #> "\n", "\n", list(list(list()), list("Additional arguments overriding the default arguments\n", #> "of the evaluation function. Which additional arguments are supported\n", #> "depends on what evaluation function is used, e.g. several support\n", -#> "argument ", list("workers"), " but not all. For details, see the individual\n", +#> "argument ", list("workers"), " but not all. For details, see the individual\n", #> "functions of which some are linked to below.")), -#> "\n", "\n", list(list("substitute"), list("If TRUE, the ", -#> list("strategy"), " expression is\n", list( -#> "substitute()"), ":d, otherwise not.")), -#> "\n", "\n", list(list(".skip"), list("(internal) If ", -#> list("TRUE"), ", then attempts to set a strategy\n", -#> "that is the same as what is currently in use, will skipped.")), +#> "\n", "\n", list(list("substitute"), list("If ", +#> list("TRUE"), ", the ", list("strategy"), +#> " expression is\n", list("substitute()"), +#> ":d, otherwise not.")), "\n", "\n", list( +#> list(".skip"), list("(internal) If ", list( +#> "TRUE"), ", then attempts to set a strategy\n", +#> "that is the same as what is currently in use, will be skipped.")), #> "\n", "\n", list(list(".call"), list("(internal) Used for recording the call to this function.")), #> "\n", "\n", list(list(".cleanup"), list("(internal) Used to stop implicitly started clusters.")), #> "\n", "\n", list(list(".init"), list("(internal) Used to initiate workers.")), @@ -4321,9 +4325,9 @@

Examples

#> "for this.\n")), "\n", "\n", list(list("For package developers"), #> list("\n", "\n", "Please refrain from modifying the future strategy inside your packages /\n", #> "functions, i.e. do not call ", list("plan()"), -#> " in your code. Instead, leave\n", "the control on what backend to use to the end user. This idea is part of\n", -#> "the core philosophy of the future framework - as a developer you can never\n", -#> "know what future backends the user have access to. Moreover, by not making\n", +#> " in your code. Instead, leave\n", "the control on what backend to use to the end user. This idea is part of\n", +#> "the core philosophy of the future framework---as a developer you can never\n", +#> "know what future backends the user have access to. Moreover, by not making\n", #> "any assumptions about what backends are available, your code will also work\n", #> "automatically with any new backends developed after you wrote your code.\n", #> "\n", "If you think it is necessary to modify the future strategy within a\n", @@ -4339,8 +4343,8 @@

Examples

#> "also rely on the future framework, so it is important to avoid stepping on\n", #> "others' toes."), "\n")), "\n", "\n", list( #> list("Using plan() in scripts and vignettes"), -#> list("\n", "\n", "When writing scripts or vignettes that uses futures, try to place any\n", -#> "call to ", list("plan()"), " as far up (as early on) in the code as possible.\n", +#> list("\n", "\n", "When writing scripts or vignettes that use futures, try to place any\n", +#> "call to ", list("plan()"), " as far up (i.e. as early on) in the code as possible.\n", #> "This will help users to quickly identify where the future plan is set up\n", #> "and allow them to modify it to their computational resources.\n", #> "Even better is to leave it to the user to set the ", @@ -4349,10 +4353,10 @@

Examples

#> "If a ", list(list(".future.R")), " exists in the current directory and / or in\n", #> "the user's home directory, it is sourced when the ", #> list("future"), " package is\n", list("loaded"), -#> ". Because of this, the ", list(".future.R"), +#> ". Because of this, the ", list(".future.R"), #> " file provides a\n", "convenient place for users to set the ", #> list("plan()"), ".\n", "This behavior can be controlled via an ", -#> list(), " option - see\n", list("future options"), +#> list(), " option---see\n", list("future options"), #> " for more details.\n")), "\n", "\n", list( #> "\n", "a <- b <- c <- NA_real_\n", "\n", "# An sequential future\n", #> "plan(sequential)\n", "f <- future({\n", " a <- 7\n", diff --git a/reference/future.html b/reference/future.html index cb0a919b..99cff47b 100644 --- a/reference/future.html +++ b/reference/future.html @@ -547,7 +547,7 @@

Examples

#> #> Coefficients: #> (Intercept) x -#> 0.1078 1.8049 +#> 0.2778 2.0244 #> print(fitB) #> @@ -556,7 +556,7 @@

Examples

#> #> Coefficients: #> x -#> 1.802 +#> 2.028 #> print(fitC) #> @@ -565,7 +565,7 @@

Examples

#> #> Coefficients: #> (Intercept) x -#> 0.1289 1.8196 +#> 0.2938 1.9952 #> @@ -583,7 +583,7 @@

Examples

#> #> Coefficients: #> (Intercept) x -#> 0.1289 1.8196 +#> 0.2938 1.9952 #> print(fitB) #> @@ -592,7 +592,7 @@

Examples

#> #> Coefficients: #> x -#> 1.815 +#> 2.005 #> print(fitC) #> @@ -601,7 +601,7 @@

Examples

#> #> Coefficients: #> (Intercept) x -#> 0.1289 1.8196 +#> 0.2938 1.9952 #> @@ -623,7 +623,7 @@

Examples

#> #> Coefficients: #> (Intercept) x -#> 0.1289 1.8196 +#> 0.2938 1.9952 #> print(fitB) #> @@ -632,7 +632,7 @@

Examples

#> #> Coefficients: #> x -#> 1.815 +#> 2.005 #> print(fitC) #> @@ -641,7 +641,7 @@

Examples

#> #> Coefficients: #> (Intercept) x -#> 0.1289 1.8196 +#> 0.2938 1.9952 #> # \dontshow{ diff --git a/reference/future.options.html b/reference/future.options.html index 6502a3a1..6ecffb77 100644 --- a/reference/future.options.html +++ b/reference/future.options.html @@ -206,7 +206,7 @@

Options for controlling futures

future.globals.onReference: (beta feature - may change)
-

(character string) Controls whether the identified globals should be scanned for so called references (e.g. external pointers and connections) or not. It is unlikely that another R process ("worker") can use a global that uses a internal reference of the master R process - we call such objects non-exportable globals. +

(character string) Controls whether the identified globals should be scanned for so called references (e.g. external pointers and connections) or not. It is unlikely that another R process ("worker") can use a global that uses a internal reference of the master R process---we call such objects non-exportable globals. If this option is "error", an informative error message is produced if a non-exportable global is detected. If "warning", a warning is produced, but the processing will continue; it is likely that the future will be resolved with a run-time error unless processed in the master R process (e.g. plan(sequential) and plan(multicore)). If "ignore", no scan is performed. @@ -259,7 +259,7 @@

Options for controlling package startup

future.startup.script:
-

(character vector or a logical) Specifies zero of more future startup scripts to be sourced when the future package is attached. It is only the first existing script that is sourced. If none of the specified files exist, nothing is sourced - there will be neither a warning nor an error. +

(character vector or a logical) Specifies zero of more future startup scripts to be sourced when the future package is attached. It is only the first existing script that is sourced. If none of the specified files exist, nothing is sourced---there will be neither a warning nor an error. If this option is not specified, environment variable R_FUTURE_STARTUP_SCRIPT is considered, where multiple scripts may be separated by either a colon (:) or a semicolon (;). If neither is set, or either is set to TRUE, the default is to look for a .future.R script in the current directory and then in the user's home directory. To disable future startup scripts, set the option or the environment variable to FALSE. Importantly, this option is always set to FALSE if the future package is loaded as part of a future expression being evaluated, e.g. in a background process. In order words, they are sourced in the main R process but not in future processes. (Default: TRUE in main R process and FALSE in future processes / during future evaluation)

diff --git a/reference/futureOf.html b/reference/futureOf.html index d95d8f83..4ab00390 100644 --- a/reference/futureOf.html +++ b/reference/futureOf.html @@ -224,7 +224,7 @@

Examples

#> Lazy evaluation: FALSE #> Asynchronous evaluation: FALSE #> Local evaluation: TRUE -#> Environment: 0x55eb6a760e68 +#> Environment: 0x5560361e1ec0 #> Capture standard output: TRUE #> Capture condition classes: ‘condition’ (excluding ‘nothing’) #> Globals: <none> @@ -233,7 +233,7 @@

Examples

#> Resolved: TRUE #> Value: 56 bytes of class ‘numeric’ #> Early signaling: FALSE -#> Owner process: a5f6048f-5ec0-5a4c-4fce-ec4233e4abdc +#> Owner process: 460d3b27-76e1-5c0e-e4ae-e00a1ba14d59 #> Class: ‘SequentialFuture’, ‘UniprocessFuture’, ‘Future’, ‘environment’ b %<-% { 2 } @@ -249,7 +249,7 @@

Examples

#> Lazy evaluation: FALSE #> Asynchronous evaluation: FALSE #> Local evaluation: TRUE -#> Environment: 0x55eb6a760e68 +#> Environment: 0x5560361e1ec0 #> Capture standard output: TRUE #> Capture condition classes: ‘condition’ (excluding ‘nothing’) #> Globals: <none> @@ -258,7 +258,7 @@

Examples

#> Resolved: TRUE #> Value: 56 bytes of class ‘numeric’ #> Early signaling: FALSE -#> Owner process: a5f6048f-5ec0-5a4c-4fce-ec4233e4abdc +#> Owner process: 460d3b27-76e1-5c0e-e4ae-e00a1ba14d59 #> Class: ‘SequentialFuture’, ‘UniprocessFuture’, ‘Future’, ‘environment’ ## All futures @@ -274,7 +274,7 @@

Examples

#> Lazy evaluation: FALSE #> Asynchronous evaluation: FALSE #> Local evaluation: TRUE -#> Environment: 0x55eb6a760e68 +#> Environment: 0x5560361e1ec0 #> Capture standard output: TRUE #> Capture condition classes: ‘condition’ (excluding ‘nothing’) #> Globals: <none> @@ -283,7 +283,7 @@

Examples

#> Resolved: TRUE #> Value: 56 bytes of class ‘numeric’ #> Early signaling: FALSE -#> Owner process: a5f6048f-5ec0-5a4c-4fce-ec4233e4abdc +#> Owner process: 460d3b27-76e1-5c0e-e4ae-e00a1ba14d59 #> Class: ‘SequentialFuture’, ‘UniprocessFuture’, ‘Future’, ‘environment’ #> #> $b @@ -296,7 +296,7 @@

Examples

#> Lazy evaluation: FALSE #> Asynchronous evaluation: FALSE #> Local evaluation: TRUE -#> Environment: 0x55eb6a760e68 +#> Environment: 0x5560361e1ec0 #> Capture standard output: TRUE #> Capture condition classes: ‘condition’ (excluding ‘nothing’) #> Globals: <none> @@ -305,7 +305,7 @@

Examples

#> Resolved: TRUE #> Value: 56 bytes of class ‘numeric’ #> Early signaling: FALSE -#> Owner process: a5f6048f-5ec0-5a4c-4fce-ec4233e4abdc +#> Owner process: 460d3b27-76e1-5c0e-e4ae-e00a1ba14d59 #> Class: ‘SequentialFuture’, ‘UniprocessFuture’, ‘Future’, ‘environment’ #> #> $f @@ -318,7 +318,7 @@

Examples

#> Lazy evaluation: FALSE #> Asynchronous evaluation: FALSE #> Local evaluation: TRUE -#> Environment: 0x55eb6a760e68 +#> Environment: 0x5560361e1ec0 #> Capture standard output: TRUE #> Capture condition classes: ‘condition’ (excluding ‘nothing’) #> Globals: <none> @@ -327,7 +327,7 @@

Examples

#> Resolved: TRUE #> Value: 56 bytes of class ‘numeric’ #> Early signaling: FALSE -#> Owner process: a5f6048f-5ec0-5a4c-4fce-ec4233e4abdc +#> Owner process: 460d3b27-76e1-5c0e-e4ae-e00a1ba14d59 #> Class: ‘SequentialFuture’, ‘UniprocessFuture’, ‘Future’, ‘environment’ #> @@ -347,7 +347,7 @@

Examples

#> Lazy evaluation: FALSE #> Asynchronous evaluation: FALSE #> Local evaluation: TRUE -#> Environment: 0x55eb6a760e68 +#> Environment: 0x5560361e1ec0 #> Capture standard output: TRUE #> Capture condition classes: ‘condition’ (excluding ‘nothing’) #> Globals: <none> @@ -356,7 +356,7 @@

Examples

#> Resolved: TRUE #> Value: 56 bytes of class ‘numeric’ #> Early signaling: FALSE -#> Owner process: a5f6048f-5ec0-5a4c-4fce-ec4233e4abdc +#> Owner process: 460d3b27-76e1-5c0e-e4ae-e00a1ba14d59 #> Class: ‘SequentialFuture’, ‘UniprocessFuture’, ‘Future’, ‘environment’ f2 <- futureOf(c, envir = env) @@ -370,7 +370,7 @@

Examples

#> Lazy evaluation: FALSE #> Asynchronous evaluation: FALSE #> Local evaluation: TRUE -#> Environment: 0x55eb6a760e68 +#> Environment: 0x5560361e1ec0 #> Capture standard output: TRUE #> Capture condition classes: ‘condition’ (excluding ‘nothing’) #> Globals: <none> @@ -379,7 +379,7 @@

Examples

#> Resolved: TRUE #> Value: 56 bytes of class ‘numeric’ #> Early signaling: FALSE -#> Owner process: a5f6048f-5ec0-5a4c-4fce-ec4233e4abdc +#> Owner process: 460d3b27-76e1-5c0e-e4ae-e00a1ba14d59 #> Class: ‘SequentialFuture’, ‘UniprocessFuture’, ‘Future’, ‘environment’ f3 <- futureOf("c", envir = env) @@ -393,7 +393,7 @@

Examples

#> Lazy evaluation: FALSE #> Asynchronous evaluation: FALSE #> Local evaluation: TRUE -#> Environment: 0x55eb6a760e68 +#> Environment: 0x5560361e1ec0 #> Capture standard output: TRUE #> Capture condition classes: ‘condition’ (excluding ‘nothing’) #> Globals: <none> @@ -402,7 +402,7 @@

Examples

#> Resolved: TRUE #> Value: 56 bytes of class ‘numeric’ #> Early signaling: FALSE -#> Owner process: a5f6048f-5ec0-5a4c-4fce-ec4233e4abdc +#> Owner process: 460d3b27-76e1-5c0e-e4ae-e00a1ba14d59 #> Class: ‘SequentialFuture’, ‘UniprocessFuture’, ‘Future’, ‘environment’ fs <- futureOf(envir = env) @@ -417,7 +417,7 @@

Examples

#> Lazy evaluation: FALSE #> Asynchronous evaluation: FALSE #> Local evaluation: TRUE -#> Environment: 0x55eb6a760e68 +#> Environment: 0x5560361e1ec0 #> Capture standard output: TRUE #> Capture condition classes: ‘condition’ (excluding ‘nothing’) #> Globals: <none> @@ -426,7 +426,7 @@

Examples

#> Resolved: TRUE #> Value: 56 bytes of class ‘numeric’ #> Early signaling: FALSE -#> Owner process: a5f6048f-5ec0-5a4c-4fce-ec4233e4abdc +#> Owner process: 460d3b27-76e1-5c0e-e4ae-e00a1ba14d59 #> Class: ‘SequentialFuture’, ‘UniprocessFuture’, ‘Future’, ‘environment’ #>
diff --git a/reference/futureSessionInfo.html b/reference/futureSessionInfo.html index 97d8b030..5623302f 100644 --- a/reference/futureSessionInfo.html +++ b/reference/futureSessionInfo.html @@ -228,19 +228,19 @@

Examples

#> #> *** Basic tests #> Main R session details: -#> pid r sysname release -#> 1 913439 4.3.2 Linux 6.2.0-39-generic +#> pid r sysname release +#> 1 1212343 4.3.2 Linux 6.5.0-14-generic #> version nodename -#> 1 #40~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 16 10:53:04 UTC 2 host001 +#> 1 #14~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 20 18:15:30 UTC 2 host001 #> machine login user effective_user #> 1 x86_64 user001 user001 user001 #> Worker R session details: -#> worker pid r sysname release -#> 1 1 914264 4.3.2 Linux 6.2.0-39-generic -#> 2 2 914265 4.3.2 Linux 6.2.0-39-generic +#> worker pid r sysname release +#> 1 1 1213102 4.3.2 Linux 6.5.0-14-generic +#> 2 2 1213103 4.3.2 Linux 6.5.0-14-generic #> version nodename -#> 1 #40~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 16 10:53:04 UTC 2 host001 -#> 2 #40~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 16 10:53:04 UTC 2 host001 +#> 1 #14~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 20 18:15:30 UTC 2 host001 +#> 2 #14~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 20 18:15:30 UTC 2 host001 #> machine login user effective_user #> 1 x86_64 user001 user001 user001 #> 2 x86_64 user001 user001 user001 diff --git a/reference/getGlobalsAndPackages.html b/reference/getGlobalsAndPackages.html index 22adc038..bbf72d0e 100644 --- a/reference/getGlobalsAndPackages.html +++ b/reference/getGlobalsAndPackages.html @@ -210,7 +210,7 @@

Arguments

maxSize
-

The maximum allowed total size (in bytes) of globals - for +

The maximum allowed total size (in bytes) of globals---for the purpose of preventing too large exports / transfers happening by mistake. If the total size of the global objects are greater than this limit, an informative error message is produced. If diff --git a/reference/plan.html b/reference/plan.html index 6cda1c06..1b2dc907 100644 --- a/reference/plan.html +++ b/reference/plan.html @@ -184,25 +184,25 @@

Plan how to resolve a future

Arguments

strategy

The evaluation function (or name of it) to use -for resolving a future. If NULL, then the current strategy is returned.

+for resolving a future. If NULL, then the current strategy is returned.

...

Additional arguments overriding the default arguments of the evaluation function. Which additional arguments are supported depends on what evaluation function is used, e.g. several support -argument workers but not all. For details, see the individual +argument workers but not all. For details, see the individual functions of which some are linked to below.

substitute
-

If TRUE, the strategy expression is +

If TRUE, the strategy expression is substitute():d, otherwise not.

.skip

(internal) If TRUE, then attempts to set a strategy -that is the same as what is currently in use, will skipped.

+that is the same as what is currently in use, will be skipped.

.call
@@ -278,10 +278,10 @@

For package developers

Please refrain from modifying the future strategy inside your packages / -functions, i.e. do not call plan() in your code. Instead, leave -the control on what backend to use to the end user. This idea is part of -the core philosophy of the future framework - as a developer you can never -know what future backends the user have access to. Moreover, by not making +functions, i.e. do not call plan() in your code. Instead, leave +the control on what backend to use to the end user. This idea is part of +the core philosophy of the future framework---as a developer you can never +know what future backends the user have access to. Moreover, by not making any assumptions about what backends are available, your code will also work automatically with any new backends developed after you wrote your code.

If you think it is necessary to modify the future strategy within a @@ -305,17 +305,17 @@

For package developers

Using plan() in scripts and vignettes

-

When writing scripts or vignettes that uses futures, try to place any -call to plan() as far up (as early on) in the code as possible. +

When writing scripts or vignettes that use futures, try to place any +call to plan() as far up (i.e. as early on) in the code as possible. This will help users to quickly identify where the future plan is set up and allow them to modify it to their computational resources. Even better is to leave it to the user to set the plan() prior to source():ing the script or running the vignette. If a .future.R exists in the current directory and / or in the user's home directory, it is sourced when the future package is -loaded. Because of this, the .future.R file provides a +loaded. Because of this, the .future.R file provides a convenient place for users to set the plan(). -This behavior can be controlled via an R option - see +This behavior can be controlled via an R option---see future options for more details.