Statistics::R::REXP::Null(3pm)

Statistics::R::REXP::Null3pm

The r null object

Usage

    use Statistics::R::REXP;
    
    my $null = Statistics::R::REXP::Null->new();
    say $rexp->is_null;
    print $rexp->to_pl;

Version

version 1.0002

Overview

An object of this class represents the null R object ("NILSXP"). The null object does not have a value or attributes, and trying to set them will cause an exception.

Methods

"Statistics::R::REXP::Null" inherits from Statistics::R::REXP and adds no methods of its own.

Accessors

sexptype

SEXPTYPE of null objects is "NILSXP".

to_pl

The Perl value of "NULL" is "undef".

attributes

Null objects have no attributes, so the attributes accessor always returns "undef".

Bugs and limitations

Classes in the "REXP" hierarchy are intended to be immutable. Please do not try to change their value or attributes.

There are no known bugs in this module. Please see Statistics::R::IO for bug reporting.

Support

See Statistics::R::IO for support and contact information.

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

Author

Davor Cubranic <[email protected]>

From libstatistics-r-io-perl 1.0002-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.