daqana / tikzDevice

A R package for producing graphics output as PGF/TikZ code for use in TeX documents.
https://daqana.github.io/tikzDevice
131 stars 26 forks source link

`onefile = FALSE` does not work with **tikzDevice** 0.12.4 #220

Open stla opened 1 year ago

stla commented 1 year ago

Hello,

library(tikzDevice) # 0.12.4
tikz(onefile = FALSE)
plot(0, 0, pch = 19)
plot(0, 0, pch = 19)
dev.off()

This creates a file named Rplot%03d.tex (I mean the %03d is not substitued) which is empty and immediately disappears. Providing a file name does not work too.