Statis...ronment(3pm)

πŸ’– Statistics::R::REXP::EmptyEnvironment πŸ’–

okay bestie, welcome to the manual page for Statistics::R::REXP::EmptyEnvironment β€” it lives in the User Contributed Perl Documentation section of the manual (that's the 3pm bit, iykyk). grab a strawberry πŸ“ and let's get into it.


✨ NAME ✨

Statistics::R::REXP::EmptyEnvironment β€” literally the empty R environment, aka "emptyenv()" πŸ«™βœ¨


🌸 VERSION 🌸

version 1.0002


πŸŽ€ SYNOPSIS πŸŽ€

use Statistics::R::REXP::EmptyEnvironment

my $env = Statistics::R::REXP::EmptyEnvironment->new;
print $env->name;

look at that. two lines of setup and one line of printing. iconic behavior, no notes. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so an object of this class represents a special R environment ("ENVSXP") that sits right at the base of the environment enclosure hierarchy. it's the final boss of nothingness, bestie:

  • it has no "parent.env"
  • nothing can be assigned into it

like, at all. it's a locked room. the vibe is "do not perceive me" and honestly? valid. πŸ’€

now, lowkey important: you shouldn't create instances of this class. it exists mainly to handle deserialization of "emptyenv()" by the "IO" classes. so it's not here for you to play with, it's here to do a job behind the scenes. main character who never asks for credit. πŸ‘‘


🌈 METHODS 🌈

"Statistics::R::REXP::EmptyEnvironment" inherits from Statistics::R::REXP::Environment, but with an extra restriction bolted on: it doesn't have attributes, enclosure, or any contents.

and fr fr, trying to create an EmptyEnvironment instance that doesn't follow this restriction will raise an exception. it said boundaries, and it meant it. 🚫

⭐ ACCESSORS ⭐

  • name β€” just as in R, the name of the EmptyEnvironment is "R_EmptyEnv". that's the whole accessor. she's simple, she's consistent, we love her. πŸ’œ

😭 BUGS AND LIMITATIONS 😭

classes in the "REXP" hierarchy are intended to be immutable. please do not try to change their value or attributes. hands off the artifact, bestie. πŸ™ˆ

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. that's where the help lives. go there. 🌸


πŸ‘‘ AUTHOR πŸ‘‘

Davor Cubranic <cubranic@stat.ubc.ca>


This software is Copyright (c) 2017 by University of British Columbia.

This is free software, licensed under:

The GNU General Public License, Version 3, June 2007

and that's the whole page, bestie!! this one was documented with perl v5.34.0 and dated 2022-02-10 β€” so yeah, certified vintage. go forth, don't instantiate the empty environment, and slay the rest of your day ✨🌈πŸ’