Skip to content
Prev 8751 / 10988 Next

[Rcpp-devel] float for BigMatrix

Oh nice catch! It?s not in the latest version on CRAN, but if you install
the development version from github (
devtools::install_github("kaneplusplus/bigmemory")) you will be able to
create a big matrix with a type float. You will just need to explicitly
tell R to store the data as a float, i.e. as.big.matrix(x, type="float").
Be warned though, your print code will probably segfault when you create
the arma::Mat and try to print the matrix.
?
On 2 June 2015 at 14:30, Yue Li <gorillayue at gmail.com> wrote:

            
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20150602/c3c422c8/attachment-0001.html>