If anybody needs help with the 'deprecation' warnings from CRAN let me. I
assisted one package with a pull request that updated matrix initialization /
assignment to the more common C++11 form, and can probably help others too if
you let me know where your repo is.

For reference, the Armadillo docs now show this:

element initialisation

- Set elements in Mat, Col, Row via initialiser lists

- Examples:

  vec v = { 1, 2, 3 };

  mat A = { {1, 3, 5},
            {2, 4, 6} };


Hth,  Dirk

-- 
https://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to