Statis...onment(3pm)

πŸ’– Statistics::R::REXP::BaseEnvironment β€” the base R environment (baseenv()) πŸ’–

okay bestie, pull up a chair, we're talking about the base environment and it's lowkey iconic 🫢 this page is from the User Contributed Perl Documentation, so you know it's the good stuff.


✨ VERSION ✨

version 1.0002 β€” that's the vibe check, and it passed πŸ’…


🌸 SYNOPSIS 🌸

use Statistics::R::REXP::BaseEnvironment

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

πŸ¦‹ DESCRIPTION πŸ¦‹

so like, an object of this class represents a special R environment (ENVSXP) that is the environment of the base package itself. that's it, that's the whole personality ✨

okay bestie, real talk: you shouldn't create instances of this class. like, at all. it exists mainly to handle deserialization of baseenv() by the IO classes. it's giving "background character who's actually carrying the whole plot" energy πŸ‘‘

πŸ’… METHODS πŸ’…

Statistics::R::REXP::BaseEnvironment inherits from Statistics::R::REXP::Environment, with the added restriction that it doesn't have attributes, enclosure, or any contents. no cap.

and the way that trying to create a BaseEnvironment instance that doesn't follow this restriction will raise an exception 😭 so don't test it, bestie, it's not gonna be cute.

πŸŽ€ ACCESSORS πŸŽ€

  • name β€” just as in R, the name of the BaseEnvironment is R_BaseEnv. that's the name. that's it. periodt πŸ’–

πŸ’€ BUGS AND LIMITATIONS πŸ’€

Classes in the REXP hierarchy are intended to be immutable. so please, do not try to change their value or attributes. like, hands off the merchandise πŸ™ˆ

There are no known bugs in this module. Please see Statistics::R::IO for bug reporting. (iykyk πŸ›)


🌈 SUPPORT 🌈

See Statistics::R::IO for support and contact information. go say hi, they're nice 🫢


πŸ‘‘ 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 was perl v5.34.0, dated 2022-02-10, from Statis...onment(3pm) β€” mwah, no notes, go forth and deserialize responsibly πŸ’œπŸ§š