dsmv, dsmm and dsml classes act
like ordinary Rvectors, matrices and lists, but have internal
operations allowing them to be shared across Rprocesses.cnewdsm(). Indexing
operations with [] work syntactically as with ordinary Rvectors, matrices and lists, but the generic Rfunctions [ and
[<- are implemented in special versions to enable the sharing.(Currently the list functions [[ ]] and $ are not yet
implemented, nor is increasing the number of components of a shared list.)
Note carefully that you must always use brackets with x to an
ordinary Rvariable y, write
y <- x[]
not
y <- x
cnewdsm