info.create(info = .SPMD.CT$info)
info.set(info = .SPMD.CT$info, key, value)
info.free(info = .SPMD.CT$info)
info.c2f(info = .SPMD.CT$info)
key
.# Save code in a file "demo.r" and run with 2 processors by
# > mpiexec -np 2 Rscript demo.r
### Initial
library(pbdMPI, quiet = TRUE)
init()
.comm.size <- comm.size()
.comm.rank <- comm.rank()
### Examples
info.create(0L)
info.create(0L, "file", "appschema")
### Finish
finalize()
Run the code above in your browser using DataLab