Learn R Programming

Rdsm (version 1.1.0)

dsmv-class: Rdsm Classes

Description

The dsmv, dsmm and dsml classes act like ordinary Rvectors, matrices and lists, but have internal operations allowing them to be shared across Rprocesses.

Arguments

Details

These classes are created by calling 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 Rdsm variables. For instance, to copy the Rdsm vector x to an ordinary Rvariable y, write

y <- x[]

not

y <- x

See Also

cnewdsm