Description Usage Arguments Details Author(s)
Creates an Rdsm shared variable.
1 | mgrmakevar(cls,varname,nr,nc,vartype="double",fs=FALSE,mgrcpy=TRUE,savedesc=TRUE)
|
cls |
The parallel cluster. |
varname |
Name of the shared variable, quoted. (The variable must be a matrix, though it could be 1x1 etc.) |
nr |
Number of rows in the variable. |
nc |
Number of columns in the variable. |
vartype |
Atomic R type of the variable, quoted, "double" by default. |
fs |
Place in backing store? FALSE by default. |
mgrcpy |
Place a copy of the shared variable on the manager node? TRUE by default. |
savedesc |
Save the bigmemory descriptor for this variable on disk. |
Run this from the manager (the R process from which you create the
cluster). The shared variable will be created, readable/writable from
all threads. The variable will be of class big.matrix
; see
the library bigmemory for details.
Norm Matloff
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.