[Rd] Matrix 1.6.2+ versus Matrix 1.6.2-

Balasubramanian Narasimhan n@r@@ @end|ng |rom @t@n|ord@edu
Wed Nov 22 20:50:54 CET 2023


Package Rmosek compiles fine using Matrix versions 1.6.2- but not with 
anything beyond Matrix 1.6.2.  (FYI, Rmosek provides R interfaces to the 
excellent MOSEK solver; academic licenses are free.)

Here is the error message:

    rmsk_obj_matrices.cc:50:9: error: use of undeclared identifier 'Matrix_isclass_Csparse'
        50 |     if (Matrix_isclass_Csparse(val)) {
           |         ^
    rmsk_obj_matrices.cc:171:9: error: use of undeclared identifier 'Matrix_isclass_triplet'
       171 |     if (Matrix_isclass_triplet(val)) {
           |         ^
    rmsk_obj_matrices.cc:225:24: error: use of undeclared identifier 'M_chm_triplet_to_SEXP'
       225 |   matrixhandle.protect(M_chm_triplet_to_SEXP(tmp, 0, 0, 0, NULL, R_NilValue));

These API entry points are no longer in the recent headers. My quick 
examination shows that the first two seem like mostly R API stuff and so 
can be copied over to Rmosek easily but the last one looks more involved 
in my cursory examination.

I was going to let the author of Rmosek know, but I do not see any 
mention of these API entries going away in the NEWS for Matrix.

Would be good to point the author to a suggested approach or even 
provide the beginnings of a fix. Any thoughts, particularly by Matrix 
authors (Martin, Mikael)?

Thanks in advance.

-Naras


	[[alternative HTML version deleted]]



More information about the R-devel mailing list