[Rd] Rd2pdf and Rd2dvi don't find texi2dvi

From: Tobias Erhardt <tobias.erhardt_at_gmail.com>
Date: Fri, 25 Mar 2011 09:23:59 +0100

Hello everybody

I'm am trying to build a pdf out of the Rd files that i wrote for a package, so that I can attach it to my thesis.

if i Run Rd2pdf (or Rd2dvi) I get this error massage:

Hmm ... looks like a package
Converting Rd files to LaTeX .
Creating pdf output from LaTeX ...
Error in texi2dvi("Rd2.tex", pdf = (out_ext == "pdf"), quiet = FALSE, :   Running 'texi2dvi' on 'Rd2.tex' failed. Output:
You don't have a working TeX binary (tex) installed anywhere in your PATH, and texi2dvi cannot proceed without one. If you want to use this script, you'll need to install TeX (if you don't have it) or change your PATH or TEX environment variable (if you do). See the --help output for more details.

For information about obtaining TeX, please see http://www.tug.org. If you happen to be using Debian, you can get it with this command:   apt-get install tetex-bin
Error in running tools::texi2dvi

The problem is, that i have a valid Tex installation and I am able to call texi2dvi in the shell, as it is in my path.

In R getOption("texi2dvi") gives me the correct path to texi2dvi "/usr/bin/texi2dvi"

I am running R2.12.2 on MacOSX 10.6.7 and have TexLive 2010 installed

Thanks for your help

best regard

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 25 Mar 2011 - 11:44:24 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 25 Mar 2011 - 17:30:36 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive