Skip to content
Prev 39543 / 63421 Next

Rd2pdf and Rd2dvi don't find texi2dvi

On 25/03/2011 4:23 AM, Tobias Erhardt wrote:
That message is coming from texi2dvi (the system command), not from R.  
So you might want to investigate why texi2dvi as invoked from R is 
different than texi2dvi as invoked from your shell.  I'd try

system("texi2dvi --version")

in R and compare the result to what you get outside, examine the 
environment variables PATH and TEX in both places (with 
Sys.getenv(c("PATH", "TEX")) in R) to look for differences, etc.

Duncan Murdoch