And note too that this is looking first for a script texi2dvi. If you have that, *it* will look for pdflatex, possibly already knowing where to look.

Also note that both the usual texi2dvi and tools::texi2dvi will consult environment variables such as PDFLATEX.

If you have a standard Mac TeX installation such as MacTeX, it should contain texi2dvi. So this seems to be entirely a path problem.

On Tue, 5 Jul 2011, Simon Urbanek wrote:

Federico,

both are entirely irrelevant - run
system("pdflatex --version")
in R - that is the only thing that counts. If it shows an error, then you don't 
have pdflatex on your PATH which would be the problem. As a side note, you are 
showing two separate TeX packages which may not help you to find out what 
breaks in your setup in general ...

Cheers,
Simon



On Jul 5, 2011, at 5:51 AM, Federico Calboli wrote:

On 5 Jul 2011, at 10:44, Federico Calboli wrote:
<snip>
My comment is, pdflatex *is* availiable:

$ :/usr/local/texlive/2010/bin/universal-darwin$ ls -l pdflatex
lrwxr-xr-x  1 root  wheel  6 21 Oct  2010 pdflatex -> pdftex

and

$ :/usr/local/texlive/2010/bin/x86_64-darwin$ ls -l pdflatex
lrwxr-xr-x  1 root  wheel  6 21 Oct  2010 pdflatex -> pdftex

Before anyone asks:

$ :/usr/local/texlive/2010/bin/x86_64-darwin$ ls /usr/texbin/pdflatex
/usr/texbin/pdflatex

so that's not the issue.

bw

F



--
Federico C. F. Calboli
Department of Epidemiology and Biostatistics
Imperial College, St. Mary's Campus
Norfolk Place, London W2 1PG

Tel +44 (0)20 75941602   Fax +44 (0)20 75943193

f.calboli [.a.t] imperial.ac.uk
f.calboli [.a.t] gmail.com

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac



_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac


--
Brian D. Ripley,                  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to