logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Statistics::R::REXP::Null - the R null object

Author

       Davor Cubranic <cubranic@stat.ubc.ca>

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.

Description

       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".

Name

       Statistics::R::REXP::Null - the R null object

Support

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

Synopsis

           use Statistics::R::REXP;

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

Version

       version 1.0002

See Also