diff --git a/DESCRIPTION b/DESCRIPTION index 21bdc8b8e..27648734d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -6,7 +6,7 @@ Description: Lightweight parallel code execution and distributed computing. Designed for simplicity, a 'mirai' evaluates an R expression asynchronously, on local or network resources, resolving automatically upon completion. Efficient scheduling over fast inter-process communications or secure TLS - over TCP/IP connections, built on 'nanonext' and 'NNG' (Nanomsg Next Gen). + connections over TCP/IP, built on 'nanonext' and 'NNG' (Nanomsg Next Gen). Authors@R: c(person(given = "Charlie", family = "Gao", diff --git a/R/mirai-package.R b/R/mirai-package.R index 55fd3aaaa..8dfa57f18 100644 --- a/R/mirai-package.R +++ b/R/mirai-package.R @@ -19,8 +19,9 @@ #' Lightweight parallel code execution and distributed computing. Designed for #' simplicity, a 'mirai' evaluates an R expression asynchronously, on local #' or network resources, resolving automatically upon completion. Efficient -#' scheduling over fast inter-process communications or secure TLS over -#' TCP/IP connections, built on 'nanonext' and 'NNG' (Nanomsg Next Gen). +#' scheduling over fast inter-process communications or secure TLS +#' connections over TCP/IP, built on 'nanonext' and 'NNG' (Nanomsg Next +#' Gen). #' #' @section Notes: #' diff --git a/README.Rmd b/README.Rmd index 8b3bd62ae..649ca53b1 100644 --- a/README.Rmd +++ b/README.Rmd @@ -31,7 +31,7 @@ Designed for simplicity, a 'mirai' evaluates an R expression asynchronously, on

`mirai()` returns a 'mirai' object immediately. 'mirai' (未来 みらい) is Japanese for 'future'.

-Efficient scheduling over fast inter-process communications or secure TLS over TCP/IP connections, built on 'nanonext' and 'NNG' (Nanomsg Next Gen). +Efficient scheduling over fast inter-process communications or secure TLS connections over TCP/IP, built on 'nanonext' and 'NNG' (Nanomsg Next Gen).

{mirai} has a tiny pure R code base, relying solely on [`nanonext`](https://doi.org/10.5281/zenodo.7903429), a high-performance binding for the 'NNG' (Nanomsg Next Gen) C library with zero package dependencies.

@@ -64,7 +64,7 @@ m <- mirai( res <- rnorm(x) + y ^ 2 res / rev(res) }, - x = 11, + x = 10, y = runif(1) ) diff --git a/README.md b/README.md index 7af18baf9..0999b5ac7 100644 --- a/README.md +++ b/README.md @@ -20,12 +20,12 @@ for simplicity, a ‘mirai’ evaluates an R expression asynchronously, on local or network resources, resolving automatically upon completion.

`mirai()` returns a ‘mirai’ object immediately. ‘mirai’ (未来 みらい) is Japanese for ‘future’.

Efficient -scheduling over fast inter-process communications or secure TLS over -TCP/IP connections, built on ‘nanonext’ and ‘NNG’ (Nanomsg Next Gen). -

{mirai} has a tiny pure R code base, relying solely on -[`nanonext`](https://doi.org/10.5281/zenodo.7903429), a high-performance -binding for the ‘NNG’ (Nanomsg Next Gen) C library with zero package -dependencies.

+scheduling over fast inter-process communications or secure TLS +connections over TCP/IP, built on ‘nanonext’ and ‘NNG’ (Nanomsg Next +Gen).

{mirai} has a tiny pure R code base, relying solely +on [`nanonext`](https://doi.org/10.5281/zenodo.7903429), a +high-performance binding for the ‘NNG’ (Nanomsg Next Gen) C library with +zero package dependencies.

### Installation @@ -56,7 +56,7 @@ m <- mirai( res <- rnorm(x) + y ^ 2 res / rev(res) }, - x = 11, + x = 10, y = runif(1) ) @@ -88,8 +88,8 @@ result. ``` r m$data -#> [1] 0.2390802 1.0470625 2.8110633 0.1733852 1.6094568 1.0000000 0.6213276 -#> [8] 5.7675056 0.3557373 0.9550528 4.1826971 +#> [1] -0.67343605 -0.20497828 50.37872905 1.48134108 0.37001452 2.70259664 +#> [7] 0.67506398 0.01984965 -4.87856556 -1.48492199 ``` Alternatively, explicitly call and wait for the result using @@ -97,8 +97,8 @@ Alternatively, explicitly call and wait for the result using ``` r call_mirai(m)$data -#> [1] 0.2390802 1.0470625 2.8110633 0.1733852 1.6094568 1.0000000 0.6213276 -#> [8] 5.7675056 0.3557373 0.9550528 4.1826971 +#> [1] -0.67343605 -0.20497828 50.37872905 1.48134108 0.37001452 2.70259664 +#> [7] 0.67506398 0.01984965 -4.87856556 -1.48492199 ``` ### Vignette diff --git a/man/mirai-package.Rd b/man/mirai-package.Rd index 5c5e721c3..f070c0a03 100644 --- a/man/mirai-package.Rd +++ b/man/mirai-package.Rd @@ -9,8 +9,9 @@ Lightweight parallel code execution and distributed computing. Designed for simplicity, a 'mirai' evaluates an R expression asynchronously, on local or network resources, resolving automatically upon completion. Efficient - scheduling over fast inter-process communications or secure TLS over - TCP/IP connections, built on 'nanonext' and 'NNG' (Nanomsg Next Gen). + scheduling over fast inter-process communications or secure TLS + connections over TCP/IP, built on 'nanonext' and 'NNG' (Nanomsg Next + Gen). } \section{Notes}{