Skip to content

the attribute "internals" $ tt_columns abundance_scaled, carries the environment with it inflating the RDS file size #295

@stemangiola

Description

@stemangiola

When using quosures to define the .abundance_scaled column name in the internals, the environment gets carried along and a 1 Mb SummarizedExperiment becomes a 400Mb RDS file.

it can be solved with this

attr(se, "internals")$tt_columns$.abundance_scaled |> attr(".Environment") = NULL

tidybulk should avoid carry the local environment in the object in the first place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions