From a9e03b7ae73c87fc625ed0a51d03c4015c8c4b33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Hrb=C3=A1=C4=8D?= <david@hrbac.cz> Date: Fri, 17 Feb 2017 15:10:44 +0100 Subject: [PATCH] R --- docs.it4i/salomon/software/numerical-languages/r.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs.it4i/salomon/software/numerical-languages/r.md b/docs.it4i/salomon/software/numerical-languages/r.md index a3511b379..6df515ada 100644 --- a/docs.it4i/salomon/software/numerical-languages/r.md +++ b/docs.it4i/salomon/software/numerical-languages/r.md @@ -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) -- GitLab