简体   繁体   中英

tikzDevice in R on mac OS X el Capitan

I do not manage to make R/tikzDevice works correctly since I have made the Mac OS X el Capitan update two days ago...

The problem is that R/tikzDevice seems no longer to be able to write anything on any plot: I have the curves, the points, the axes, etc., but no text at all (no graduation, no legend, etc.).

Here is a dummy "not-working example":

library('tikzDevice')
tikz('DUMMYtest.tex', standAlone = TRUE, width=4, height=4)
plot(c(),pch=3,col='grey',xlim=c(-1,1),ylim=c(-1,1),xlab='',ylab='',axes=T)
points(0,0,pch=3,cex=1,col='red')
points(0,-0.5,pch=19,cex=1,col='blue')
text(0,0.5,'blablabla')
dev.off()

Does anybody manage to make R/tikzDevive works on el Capitan?
I have installed macTeX-2015 and LaTeX works fine.

I have solved my problem by making a full installation of R, Latex and Co via Homebrew, following exactly this link (the boot-strap step of "instal r" takes a relatively long time, don't be afraid ;-) ):

http://www.r-bloggers.com/installing-r-on-os-x-100-homebrew-edition/

Thanks.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM