[Tikzdevice-bugs] Running TikzDevice on Mac OS 10.6

Mike Lawrence Mike.Lawrence at dal.ca
Wed Oct 28 16:36:29 CET 2009


Hi all,

I'm having troubles running TikzDevice. My OS is fresh install of Mac
10.6, I'm running R 10.0, I have the 2008 MacTex distribution
installed and running fine, and I was able to use "tlmgr install pgf"
to install PGF. However, when I attempt to library(tikzDevice), I get
the error below despite the fact that options('latexcmd') seems to
properly point to "latex" as the path to the installed compiler. Help?

Loading required package: filehash
filehash: Simple key-value database (2.0-1 2008-12-19)
tikzDevice: A Device for R Graphics Output in PGF/TikZ Format (v0.4.8)
Checking for a LaTeX compiler...

Error in fun(...) :

An appropriate LaTeX compiler could not be found.
Access to LaTeX is required in order for the TikZ device
to produce output.

The following places were tested for a valid LaTeX compiler:

	A pre-existing value of the global option tikzLatex
	The R environment variable R_LATEXCMD
	The R environment variable R_PDFLATEXCMD
	The global option latexcmd
	The PATH using the command latex
	The PATH using the command pdflatex

If you have a working LaTeX compiler, try one of the
following solutions:

	Set the path to your compiler as the value of either latexcmd or
	tikzLatex in .Rprofile using options().

	Set the path to your compiler as the value of either R_LATEXCMD or
	R_PDFLATEXCMD in .Renviron.

	Ensure the folder containing your compiler is included in PATH.

Error : .onLoad failed in 'loadNamespace' for 'tikzDevice'
Error: package/namespace load failed for 'tikzDevice'



-- 
Mike Lawrence
Graduate Student
Department of Psychology
Dalhousie University

Looking to arrange a meeting? Check my public calendar:
http://tr.im/mikes_public_calendar

~ Certainty is folly... I think. ~


More information about the Tikzdevice-bugs mailing list