I am using engine=tikz to produce a figure, which works fine for PDF.
However, If I want dev=svg, something goes wrong; the .svg file is basically just a skeleton. The .dvi file seems to be ok. I get the following message (on MacOS 10.15):
processing of PostScript specials is disabled (Ghostscript not found)
pre-processing DVI file (format version 2)
processing page 1
WARNING: 209 PostScript specials ignored. The resulting SVG might look wrong.
page is empty
graphic size: 0pt x 0pt (0mm x 0mm)
output written to path/to/myimage.svg
Same result with dev=svglite.
Do I need to install ghostscript? Any help appreciated!
EDIT:
This FAQ says that the above message is likely indicative of using Ghostscript version>=9.56.0 together with dvisvgm version<2.13.4, but I have:
A handy way to supply some sample data is the dput() function. In the case of a large dataset something like dput(head(mydata, 100)) should supply the data we need.
A problem on a particular type of machine, when that machine is supported (a Mac) is still a problem. I use a Mac. If you have an example you can share, I'll try it on my Mac, and see if it is indeed a general problem on Mac's or if it's something related to just your machine. That will go a long way to helping figure it out either way.