davidgohel / rvg

https://davidgohel.github.io/rvg/
132 stars 15 forks source link

xl_add_vg: Possible to push multiple images to a single excel sheet? #39

Open Ljupch0 opened 3 years ago

Ljupch0 commented 3 years ago

Hi, thank you for the useful package.

The following code creates a broken excel.

my_ws2 <- read_xlsx()
my_ws2 <- xl_add_vg(my_ws2, sheet = "Feuil1",
  code = barplot(1:5, col = 2:6), width = 6, height = 6, left = 1, top = 2 )
my_ws2 <- xl_add_vg(my_ws2, sheet = "Feuil1",
  code = barplot(1:5, col = 2:6), width = 10, height = 10, left = 1, top = 2 )

Is it possible to have two different plots exported to the same sheet? Thank you.

davidgohel commented 3 years ago

Sorry for the delay, I am not working on rvg but I will later.

Thanks for reporting that issue.