The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
Create a blank array and assign R object
# Sample data (~24 MB)
x <- rnorm(3e6); dim(x) <- c(10, 100, 100, 30)
# Save array to a path
path <- tempfile()
arr <- create_lazyarray(path, 'double', dim(x), multipart = TRUE)
arr[] <- x
Load existing array
The loaded array is read-only by default. However, they can be set writable.
# Subset/read array
y1 <- arr[]
y2 <- arr[,,,3]
# Write to slice of data, writing to slices along the
# last dimension is optimized
arr[,,,1] <- seq_len(1e5)
Data created via lazyarray
does not remove automatically. You need to finalize array by yourself. This is because multiple lazy array instances might point to a same dataset. If one of the object is garbage collected, you might not want to remove the data on hard drive as this will invalidate the other instances. To manually remove data, use
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.