tidybulk icon indicating copy to clipboard operation
tidybulk copied to clipboard

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

Open stemangiola opened this issue 9 months ago • 0 comments

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.

stemangiola avatar Sep 11 '23 05:09 stemangiola