Statistics::R::IO::RDS(3pm)

Statistics::R::IO::RDS3pm

Supply object methods for rds files

Usage

    use Statistics::R::IO::RDS;
    
    my $rds = Statistics::R::IO::RDS->new('file.rds');
    my $var = $rds->read;
    print $var->to_pl;
    $rds->close;

Version

version 1.0002

Overview

"Statistics::R::IO::RDS" provides an object-oriented interface to parsing RDS files. RDS files store a serialization of a single R object (and, if the object contains references to other objects, such as environments, all the referenced objects as well). These files are created in R using the "readRDS" function and are typically named with the ".rds" file extension.

Methods

"Statistics::R::IO::RDS" inherits from Statistics::R::IO::Base and provides an implementation for the "read" method that parses RDS files.

read

Reads the contents of the filehandle and returns a Statistics::R::REXP.

Bugs and limitations

Instances of this class 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.