Closed carolinarr closed 11 months ago
You’re not missing anything, the short answer is that it’s complicated!
Here’s a blog post that explains how dimensions and resolution work, I hope it’s helpful:
https://www.christophenicault.com/post/understand_size_dimension_ggplot2
That blog post is extremely helpful–thank you so much for the link!
I guess I had the wrong impression here; I thought I was avoiding those issues when using camcorder() over ggsave(), but is camcorder() essentially using ggsave() each time it records?
Nice to hear it helped! And you're correct, camcorder uses ggsave. I'm not sure there is a way to avoid the issues, my understanding is that this is how images work in general... 🤷
Ok thank you, great to confirm. Very much appreciate your responses!
I've been exploring the camcorder package, and am puzzled by the fact that when I start gg_record with a certain size request, the resulting saved files do not match the size requested. For instance, my gg_record() statement looks like this:
When I open the file in the Preview application or InDesign, the size is width 14.58 inches and height 10.42 inches at 72 pixels/inch. Am I missing something?