Skip to content

Further R-devel changes making things a little easier on attribute access #1432

@eddelbuettel

Description

@eddelbuettel

This morning via the RSS feed of NEWS changes:

  • New function ‘R_getAttributes’ returns the same result as the R function ‘attributes’. New functions ‘R_getAttribCount’, ‘R_getAttribNames’, ‘R_hasAttrib’, ‘R_nrow’, and ‘R_ncol’.

What we added of course still works, but these additions should make things generally simpler. There is a bit more in the entry mostly on ALTREP.

PS Interestingly R_nrow and R_ncol return int so we used them we'd break interface again as we standardised on R_xlen_t. Or we would have to (needlessly ?) cast up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions