Skip to content

cache error when saving full recording #56

@matiasandina

Description

@matiasandina

I made several (~60) plots and I want them to go to a gif. I am using

gg_playback(
  name = "pru.gif",
  first_image_duration = 4,
  last_image_duration = 20,
  frame_duration = .25,
  background = bg_col
)

This creates the resized folder, but fails with:

Error: rsession: cache resources exhausted `/home/matias/Projects/tidytuesdays/2023/2023-week_37/tidytuesday-temp/2023_09_24_12_43_04.756371.png' @ error/cache.c/OpenPixelCache/4095

I can create the gif using gifski though, so I'm not sure what the issue is.

gifski::gifski(png_files = list.files("tidytuesday-temp/resized", full.names = T), gif_file = "pru.gif", delay = 0.25)
Inserting image 36 at 8.75s (100%)...
Encoding to gif... done!

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