save patchwork list in pdf doesn´t work
Hi
I've created a list of 13 elements like this:
Each element in my list is a "composed" plot (as the image) created with 2 ggplots, (right and left). I've merged both plots using patchwork.
Now, I would like to save this list of 13 patchwork-ggplots elements in one pdf using each "composed" plot in a page. However I can't do it. I used ggsave to save the whole list as an element but i received the next error: Saving 12.9 x 11.2 in image Error in UseMethod("grid.draw") : no applicable method for 'grid.draw' applied to an object of class "list"
When I check the structure (str) of my list I found this:
List of 13 (I'm showing just the first element)
b_cell_naive :A patchwork composed of 2 patches
- Autotagging is turned off
- Guides are collected
Layout:
2 patch areas, spanning 2 columns and 1 rows
t l b r
1: 1 1 1 1
2: 1 2 1 2
Someone could help me to save my plot list please. In attach the list file in Rdata format Thank you so much for your help