Re: [R] Rd2dvi problem.

2008-11-09 Thread Prof Brian Ripley
R_LATEXCMD is defined in R_HOME/etc/Renviron (sourced by R CMD), and conditionally re-defined in Rd2dvi. On a sub-architecture build such as the CRAN MacOS distribution that will be R_HOME/etc//Renviron, and on that distribution it is defined as 'false'. So you do need to define to a proper v

[R] Rd2dvi problem.

2008-11-09 Thread Rolf Turner
If I execute R CMD Rd2dvi foo.Rd I get messages of the form: Converting Rd files to LaTeX ... foo.Rd Creating dvi output from LaTeX ... Saving output to 'foo.dvi' ... cp: .Rd2dvi4366/Rd2.dvi: No such file or directory Done xdvi-xaw: Fatal error: foo.dvi: No such file. Indeed if I add