Use TexStudio to generate EPS figures

Some journals require EPS figures for the final publication. I use R + tikzDevice  to generate tex files for high quality tikz figures. The default output is PDF figure. How to get EPS figure?


This answer on StackExchange provides a way: link

Summary of the answer (for TexStudio):



You are done. The compilation of tex file will generate both PDF and EPS figures.