Closed cstrbl closed 7 years ago
Thanks, this is strange. Could you please post two zip archives: One with your entire directory after the first run, and one after the second run? Please also include a call to of sessionInfo()
in your .Rnw
file.
I attached the zip file from the test I described above when the error shows up. I don’t have a zip from the time before the error showed up so I can’t upload that.
However I do have a backup of the slides I used to test it with before (a bit more complex code). See slides_no_error.zip for that version and slides_error.zip for the version with the error in it. The slides_no_error.zip runs fine as long as I don’t delete the tikz.metrics and the figures/cache folders or change anything regarding the figures. To produce the version I added the sessioninfo and re run it with the “old” figures/cache/tikz.metrics. The slides_error.zip is the result of deleting everything but the slides.rnw and clicking compile pdf in R Studio again (the error also shows up when I just delete the cache folder, deleting just the figures leads to a figures/chunk… not found error and deleting only the metrics leads to the first figure not being shown at all and the second figure just showing the inner part of the figure (graphs + data points)).
slides_error.zip slides_no_error.zip
If you need anything else please let me know!
I don't know what the problem was but I uninstalled everything (R, R Studio, Miktex) and reinstalled the latest versions. Now everything is working fine... issue can be closed. Thank you for the help!!
My code was running without problems once - I got exactly what I wanted. But whenever I try to run it again I get an error.
My rnw contains of:
running it gives me:
but in the pdf file I get instead of the plot:
(When I was running it the first time the plot showed up just fine.)
The test.tex also contains this error:
I used to run another code first but was able to reproduce the error with this code. In the other code I used options(tikzMetricsDictionary="tikz.metrics") and noticed that the tikz.metrics was 13 kb the first time and 0 kb everytime after. I also noted that in the example mentioned above the test-tikzDictionary is 0 kb when the code produces the error.
now some more info:
the tikz in figure contains of:
the general log is
the log in figure is
and my session info is
hope someone can help... it's my first question here - if something is missing please let me know!