powered by
Converting memory-mapped objects to R objects
# S3 method for marray as.array(x, ...)# S3 method for marray as.vector(x, mode = "any")# S3 method for mmatrix as.matrix(x, ...)# S3 method for mmatrix as.vector(x, mode = "any")# S3 method for mvector as.vector(x, mode = "any")
# S3 method for marray as.vector(x, mode = "any")
# S3 method for mmatrix as.matrix(x, ...)
# S3 method for mmatrix as.vector(x, mode = "any")
# S3 method for mvector as.vector(x, mode = "any")
an array
memory-mapped object to convert
extra parameters (ignored)
the mode oh the created vector
a <- array( 1:24, c(2,3,4) ) A <- as.marray(a) all(as.array(A) == a) as.vector(A)
Run the code above in your browser using DataLab