Skip to content
Snippets Groups Projects

R

Merged David Hrbáč requested to merge 50-ukazky-z-konzoly-nemaji-byt-bash into master
1 file
+ 5
5
Compare changes
  • Side-by-side
  • Inline
@@ -85,7 +85,7 @@ $ R
More information and examples may be obtained directly by reading the documentation available in R
```console
```r
> ?parallel
> library(help = "parallel")
> vignette("parallel")
@@ -102,7 +102,7 @@ The forking is the most simple to use. Forking family of functions provide paral
Forking example:
```cpp
```r
library(parallel)
#integrand function
@@ -165,7 +165,7 @@ Static Rmpi programs are executed via mpiexec, as any other MPI programs. Number
Static Rmpi example:
```cpp
```r
library(Rmpi)
#integrand function
@@ -221,7 +221,7 @@ Dynamic Rmpi programs are executed by calling the R directly. OpenMPI module mus
Dynamic Rmpi example:
```cpp
```r
#integrand function
f <- function(i,h) {
x <- h*(i-0.5)
@@ -299,7 +299,7 @@ Execution is identical to other dynamic Rmpi programs.
mpi.apply Rmpi example:
```cpp
```r
#integrand function
f <- function(i,h) {
x <- h*(i-0.5)
Loading