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
In ggsave(), if device is specified and the device takes the file argument instead of filename, ggsave fails with an error: unused argument (filename = filename)
For the grDevices devices that take file, ggsave customizes the call to use file instead, but this doesn't work for devices from other packages, such as devEMF::emf or Cairo::CairoSVG.
This appears to be caused by these changes to remove partial argument matching. #2355 #2364
It would be nice if ggsave automatically caught this error, then retried with file instead of filename.
The text was updated successfully, but these errors were encountered:
In
ggsave()
, ifdevice
is specified and the device takes thefile
argument instead offilename
, ggsave fails with an error:unused argument (filename = filename)
For the
grDevices
devices that takefile
, ggsave customizes the call to usefile
instead, but this doesn't work for devices from other packages, such asdevEMF::emf
orCairo::CairoSVG
.This appears to be caused by these changes to remove partial argument matching.
#2355
#2364
It would be nice if ggsave automatically caught this error, then retried with
file
instead offilename
.The text was updated successfully, but these errors were encountered: