Sharpie / RTikZDevice

A R package for producing graphics output as PGF/TikZ code for use in TeX documents.
31 stars 36 forks source link

complete inability of tikz to calculate metrics of anything #62

Open marocaine opened 12 years ago

marocaine commented 12 years ago

Hi everyone, sorry for the polemic title, but it describes my problem perfectly as I percieve it. Here is an R-Code example:

tikz(file="D:/dingsbums.tex", standAlone=T) grid.newpage() grid.text("dumdideldum", x=0.5, y=0.5) dev.off()

Result: cannot calculate metrics of string < dumdideldum >

I got the full MikeTeX 2.9 distribution installed with all packages and an up-to-date R and R-Studio distribution. tikzDevice loads without errors when being required or "libraried" in R. My LaTeX ran smoothly so far on all occassions to produce my first scientific article, so it's hard for me to imagine the problem is buried in there somewhere. But then, I have absolutely no clue at all of what is the problem. I'm grateful and needy for any pro help in this matter!

Thanks and kind regards, maro

fmitha commented 12 years ago

I tried to reproduce this problem, but could not run your code. Eg. it does not load tikzdevice. It would be helpful if you could expand it into a minimal reproducible example.