base set up:
options(device = function(...) bitmap(file = "|kitty +kitten icat --stdin yes", ...))
with options (eg. anti-aliasing)
options(device = function(...) bitmap(file = "|kitty +kitten icat --stdin yes", taa = 2, gaa = 2, ...))
test with
ggplot(mtcars, aes(mpg, wt)) + geom_point();
dev.off()
Question: is there a way to avoid dev.off()
?