@eagleoutice/flowr - v2.16.3
    Preparing search index...
    AmbientStateName: {
        allOptions: "#options";
        anyFile: "#file:*";
        device: "#device";
        file(this: void, stem: string): string;
        files: "#files";
        finalizers: "#finalizers";
        graphics: "#graphics";
        is(this: void, name: Identifier | undefined): name is string;
        option(this: void, key: string): string;
        otherDevices: "#graphics:other";
        otherDevicesOpenedBy: "#device:other";
        palette: "#palette";
        rng: "#rng";
        rngKind: "#rng:kind";
        rngVariable: ".Random.seed";
        textConnection(this: void, name: string): string;
        unknownOption: "#option:*";
        warnsAsErrors: "#warn-error";
    } = ...

    Graphics parameters and options, tracked as global pseudo variables (#...) so readers link to the calls that set them. Accumulating states only grow: par(mar = ...) keeps an earlier par(mfrow = ...).

    Type Declaration

    • ReadonlyallOptions: "#options"

      every option write, for readers that may read any option (getOption(k) with an unknown k, library functions)

    • ReadonlyanyFile: "#file:*"

      written by a call writing a file we cannot name, which every call reading a file reads

    • Readonlydevice: "#device"

      the call that opened the active device, and those of the other open devices

    • file: function
    • Readonlyfiles: "#files"

      the files on disk, which every call writing a file adds to and every call reading a file we cannot name reads

    • Readonlyfinalizers: "#finalizers"

      the finalizers registered (reg.finalizer) and the removals that may release their objects, which gc() may run

    • Readonlygraphics: "#graphics"

      the graphics state (par, layout, ...) of the active device, which a new device starts afresh

    • is: function
    • option: function
    • ReadonlyotherDevices: "#graphics:other"

      the graphics states of the other open devices, the active one returns to one of them once it closes

    • ReadonlyotherDevicesOpenedBy: "#device:other"
    • Readonlypalette: "#palette"

      the color palette, which, other than the graphics parameters, all devices share

    • Readonlyrng: "#rng"

      the state of the random number generator, which set.seed sets and every draw advances

    • ReadonlyrngKind: "#rng:kind"

      the kind of generator, which set.seed keeps unless it is given one

    • ReadonlyrngVariable: ".Random.seed"

      the global variable R keeps that state in, so assigning it sets AmbientStateName.rng as well

    • textConnection: function
    • ReadonlyunknownOption: "#option:*"

      written by an options(...) call whose keys we cannot name, like the common options(op) restore

    • ReadonlywarnsAsErrors: "#warn-error"

      written along with the option warn when it may turn warnings into errors (warn >= 2), see errorsOfWarnings