[R-SIG-Mac] building a package on a Mac: pdflatex

Federico Calboli f.calboli at imperial.ac.uk
Tue Jul 5 16:22:40 CEST 2011


On 5 Jul 2011, at 15:19, Simon Urbanek wrote:

> 
> But that is largely irrelevant to R. R has its own mechanisms that are well documented in the R documentation, so you can use environment.plist or .profile if you are so inclined, but I would not recommend it, mainly because it will still lead to discrepancies between the GUI and the shell. Moreover, it's not R specific so it will influence other apps that may not expect it. Also it's easy to forget about such things when you are upgrading the system. So, I'm saying just use .Renviron and/or .Rprofile and all is well :).


I created a .Rprofie with 

Sys.setenv(PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin") ## as suggested by Martin Ellis [thanks!]

and all is well :)

bw

F


--
Federico C. F. Calboli
Department of Epidemiology and Biostatistics
Imperial College, St. Mary's Campus
Norfolk Place, London W2 1PG

Tel +44 (0)20 75941602   Fax +44 (0)20 75943193

f.calboli [.a.t] imperial.ac.uk
f.calboli [.a.t] gmail.com



More information about the R-SIG-Mac mailing list