I would like to create a single file that has my latex and tikzDevice output as opposed to outputting the tikZ output into a separate file and using \input . The latex would be generated using cat statements in R. <br><br>
Can that be done? If so, can you provide a small example.<br><br>