[R-SIG-Mac] R 2.9.0 installer path for latex

Simon Urbanek simon.urbanek at r-project.org
Mon Apr 27 16:27:18 CEST 2009


Gregg,

by default latex won't be on the PATH on OS X, so using no path won't  
work. The CRAN binary uses MacTeX which is the de-facto standard  
distribution on OS X now and that is what we suggest. If your setup  
varies, it's up to you to configure it properly, we can't do that for  
you.

Cheers,
Simon


On Apr 22, 2009, at 13:43 , Gregory Warnes wrote:

> The current installer of R-2.9.0 provides the defaults for all of the
> latex related programs with the path "/usr/texbin/<name>" for 3 of the
> 4 architectures:
>
> grep texbin /Library/Frameworks/R.framework/Resources/etc/*/Renviron
> /Library/Frameworks/R.framework/Resources/etc/i386/ 
> Renviron:R_LATEXCMD=${R_LATEXCMD-${LATEX-'/usr/texbin/latex'}}
> /Library/Frameworks/R.framework/Resources/etc/i386/ 
> Renviron:R_PDFLATEXCMD=${R_PDFLATEXCMD-${PDFLATEX-'/usr/texbin/ 
> pdflatex'}}
> /Library/Frameworks/R.framework/Resources/etc/i386/ 
> Renviron:R_DVIPSCMD=${R_DVIPSCMD-${DVIPS-'/usr/texbin/dvips'}}
> /Library/Frameworks/R.framework/Resources/etc/i386/ 
> Renviron:R_MAKEINDEXCMD=${R_MAKEINDEXCMD-${MAKEINDEX-'/usr/texbin/ 
> makeindex'}}
> /Library/Frameworks/R.framework/Resources/etc/ppc/ 
> Renviron:R_LATEXCMD=${R_LATEXCMD-${LATEX-'/usr/texbin/latex'}}
> /Library/Frameworks/R.framework/Resources/etc/ppc/ 
> Renviron:R_PDFLATEXCMD=${R_PDFLATEXCMD-${PDFLATEX-'/usr/texbin/ 
> pdflatex'}}
> /Library/Frameworks/R.framework/Resources/etc/ppc/ 
> Renviron:R_DVIPSCMD=${R_DVIPSCMD-${DVIPS-'/usr/texbin/dvips'}}
> /Library/Frameworks/R.framework/Resources/etc/ppc/ 
> Renviron:R_MAKEINDEXCMD=${R_MAKEINDEXCMD-${MAKEINDEX-'/usr/texbin/ 
> makeindex'}}
> /Library/Frameworks/R.framework/Resources/etc/x86_64/ 
> Renviron:R_LATEXCMD=${R_LATEXCMD-${LATEX-'/usr/texbin/latex'}}
> /Library/Frameworks/R.framework/Resources/etc/x86_64/ 
> Renviron:R_PDFLATEXCMD=${R_PDFLATEXCMD-${PDFLATEX-'/usr/texbin/ 
> pdflatex'}}
> /Library/Frameworks/R.framework/Resources/etc/x86_64/ 
> Renviron:R_DVIPSCMD=${R_DVIPSCMD-${DVIPS-'/usr/texbin/dvips'}}
> /Library/Frameworks/R.framework/Resources/etc/x86_64/ 
> Renviron:R_MAKEINDEXCMD=${R_MAKEINDEXCMD-${MAKEINDEX-'/usr/texbin/ 
> makeindex'}}
>
> This will only work if latex is installed in that particular path, and
> is much less likely to succeed no path prefix, which at least works
> as long as pdflatex is on the users path.
>
> -Greg
>
> Gregory R. Warnes, Ph.D.
> Chief Scientist
> Random Technologies LLC
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>



More information about the R-SIG-Mac mailing list