You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has been a hard one to make a full reprex for, but I'm hoping someone could explain what is going on or a workaround.
Basically I'm working on code that saves a list of ggplot graphs quickly to disk, ones that are often ~2GB using future_iwalk.
I save each page to a temp directory, then compile the completed pages in the final location.
My issue that I've noticed in practice is that when the code is run inside the function it runs signifigantly slower opposed to when it is written out.
This is an example I've been working on but I can't get the issue to show
The issue does not seem to show up for simple graphs, but in practice for more complicated graphs code this process can take 8 minutes outside of the function but 4 hours when the function is called.
By more complicated graph I mean I notice that my other graph uses scale_fill_manual() and scale_shape_manual() and when I remove them and retest the difference between the in and out of function version decreases
The text was updated successfully, but these errors were encountered:
This has been a hard one to make a full reprex for, but I'm hoping someone could explain what is going on or a workaround.
Basically I'm working on code that saves a list of ggplot graphs quickly to disk, ones that are often ~2GB using
future_iwalk
.I save each page to a temp directory, then compile the completed pages in the final location.
My issue that I've noticed in practice is that when the code is run inside the function it runs signifigantly slower opposed to when it is written out.
This is an example I've been working on but I can't get the issue to show
The issue does not seem to show up for simple graphs, but in practice for more complicated graphs code this process can take 8 minutes outside of the function but 4 hours when the function is called.
By more complicated graph I mean I notice that my other graph uses
scale_fill_manual()
andscale_shape_manual()
and when I remove them and retest the difference between the in and out of function version decreasesThe text was updated successfully, but these errors were encountered: