Skip to content
Prev 8136 / 15076 Next

building a package on a Mac: pdflatex

On 5 July 2011 15:00, Federico Calboli <f.calboli at imperial.ac.uk> wrote:
Another way to do this would be to change the PATH variable in your
~/.bashrc (or other shell-specific startup file).
I think what you want here is Sys.setenv() in R, e.g.,:
  Sys.setenv(PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin")

You should be able to set this in your ~/.Rprofile


Cheers,
Martin