Site icon R-bloggers

Beta Verson of tikzDevice Released!

[This article was first published on cameron.bracken.bz » R, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

The tikzDevice package provides a new graphics device for R which enables direct output of graphics in a LaTeX-friendly way. The device output consists of files containing instructions for the TikZ graphics language and may be imported directly into LaTeX documents using the \input{} command.

The beta version of tikzDevice is now available here.

An additional location for downloading source tarballs and windows binaries is here.

There are many significant improvements compared to the alpha version:

Features:

Limitations:

The device requires a working installation of LaTeX and the TIkZ package in order to function. This is because metrics are currently calculated through direct calls to the LaTeX compiler. Unfortunately, this results in some significant computational overhead- it may take several seconds to create a plot that contains a lot of text. In an attempt to offset this behavior, the tikzDevice uses the filehash package to store metrics that it has already computed. Hopefully the more the device is used, the faster it will be. We suggest reviewing the package vignette, especially the section “R Options That Affect Package Behavior ” for more information on how the caching process works.

We think the package is quite usable as it is, but there are surely many bugs that we don’t know about. We welcome bug reports at our R-Forge tracker

Enjoy!

The tikzDevice Team

To leave a comment for the author, please follow the link and comment on their blog: cameron.bracken.bz » R.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.