Tuesday, April 30, 2013

Missing tikzDevice

I love using tikzDevice. When preparing LaTeX documents I switched to prepare all graphs in GNU R and then port them to TeX using tikzDevice. Recently I have moved to GNU R 3.0.0 and was shocked to find that this package is no longer available on CRAN.
Fortunately I was able to find package on the web. Unfortunately - installing old package on GNU R version 3.0.0 simply generates an error when trying to load it.

So for now the only solution for me was to:

Fortunately this worked.

I really hope that tikzDevice will be back to CRAN in the future.

5 comments:

  1. Did you consider installing from source? You can use the following line to download from R-forge:

    install.packages("tikzDevice", repos="http://R-Forge.R-project.org", type="source")

    That way you don't have to have 2.15.3 installed. You may need to install Rtools first, though: http://cran.r-project.org/bin/windows/Rtools/

    ReplyDelete
  2. Yes, installing from source is a much better option. If you are using Windows, the only extra thing you need to do is to install the Rtools: http://cran.at.r-project.org/bin/windows/Rtools/

    ReplyDelete
  3. Apparently, the author did not fix certain issues fast enough so it got pulled. Considering how vital TikzDevice is for me, this is really annoying.

    ReplyDelete
  4. I contacted the author Till Tantau about it, and he didn't respond. I'm a big fan of the package too, and I hope it will be updated to work with R 3.0.0.

    ReplyDelete
  5. http://blog.modelworks.ch/?p=340

    ReplyDelete