On 11/11/2008, at 9:48 AM, Prof Brian Ripley wrote:

On Tue, 11 Nov 2008, Rolf Turner wrote:


On 10/11/2008, at 7:54 PM, Prof Brian Ripley wrote:

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/<arch>/Renviron, and on that distribution it is defined as 'false'. So you do need to define to a proper value in your environment,
e.g. put R_LATEXCMD=latex in your ~/.Renviron file.

Thanks Brian.  Tried that just now --- and of course it didn't work.
(*Nothing* ever works for me! :-( )  In more detail --- I found that
I didn't *have* a .Renviron file.  So I created one, with the single
line

      R_LATEXCMD=latex

But I got the same error situation as before. Is there any other action
I need to take to get the system to notice my ~/.Renviron file?

Oops, sorry, R CMD does not read ~/.Renviron.  You need to set
R_LATEXCMD=latex in the shell you use to run 'R CMD Rd2dvi'.

        Bingo!  That worked.  Thanks.

                cheers,

                        Rolf

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to