Hi, I'm trying to get the tikzDevice working but having no joy. I suspect there is some problem finding the required latex files but I can't seem to fix it.
I try:
> require(tikzDevice)
Loading required package: tikzDevice
Loading required package: filehash
filehash: Simple key-value database (2.2-2 2013-12-16)
Warning messages:
1: package ‘tikzDevice’ was built under R version 3.0.3
2: package ‘filehash’ was built under R version 3.0.2
> tikz('normal.tex', width=8, height=8)
plot(meca108Ea,type='b',ylab='$V outcome$',xlab='$Trial$')
Creating temporary TikZ metrics dictionary at:
C:\Users\Admin\AppData\Local\Temp\RtmpYHY27m/tikzMetricsDictionary
Error in system(latexCmd, intern = T, ignore.stderr = T) :
'C:\PROGRA~2\MiKTeX' not found
Then:
> options (tikzLatex = "C:\\Program Files (x86)\\MiKTeX 2.9\\miktex\\bin")
> tikz('normal.tex', width=8, height=8)
> plot(meca108Ea,type='b',ylab='$V outcome$',xlab='$Trial$')
Error in system(latexCmd, intern = T, ignore.stderr = T) :
'C:\Program' not found
I've tried a few version but I'm not getting anywhere, does anyone know what the solution might be?
Thanks, Steve