Skip to content

JRI: arrays of length < 1 are returned as NULL #271

@s-u

Description

@s-u

jri_getXxArray() functions treat arrays of length 0 as NULL. This seems deliberate in the code, but it is inconsistent as R is perfectly capable of representing 0-length arrays. This has been the case for more than a decade so it is unclear if making this consistent will break other's code so we may want to tread lightly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions