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.
LinkedMatrix is an R package that provides matrices implemented as lists of matrix-like nodes, linked by columns or rows.
It was originally developed for the BGData package to
address the array size limit of ff
(length must be between 1 and .Machine$integer.max
) by
chaining multiple ff
objects together.
This package is deliberately kept simple. For computational methods that use LinkedMatrix check out the BGData package.
The following code generates three different matrix-like objects and
links them together by rows in a RowLinkedMatrix
. The
LinkedMatrix
instance can then be treated like any other
regular matrix.
library(LinkedMatrix)
<- ff::ff(initdata = rnorm(50), dim = c(5, 10))
m1 <- bigmemory::big.matrix(init = rnorm(50), nrow = 5, ncol = 10)
m2 <- matrix(data = rnorm(50), nrow = 5, ncol = 10)
m3 <- RowLinkedMatrix(m1, m2, m3)
m
dim(m)
1, ]
m[1] m[,
Install the stable version from CRAN:
install.packages("LinkedMatrix")
Alternatively, install the development version from GitHub:
# install.packages("remotes")
::install_github("QuantGen/LinkedMatrix") remotes
Further documentation can be found on RDocumentation.
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.