[R-SIG-Mac] problem with sweave
Christophe Dutang
dutangc at gmail.com
Fri Jun 26 09:37:50 CEST 2009
Thanks for your quick answer
Le 26 juin 09 à 09:06, Prof Brian Ripley a écrit :
>
> You put it in your executable search path and I wrote 'input search
> path'. That's not 'following'!
In fact I wondered how TeX could use the PATH variable...
>
>
> You've not told us what TeX you have installed (and none comes with
> Mac OS X and there is a choice of third-party ones). So the
> following is a guess based on the fact that R's utiities work (and
> they do set the input search path).
Yes it was not very clear. I use texlive 2008 coming from the latest
MacTex "pack".
>
>
> You need to manipulate the environment variable TEXINPUTS.
> Something like
>
> export TEXINPUTS="/Library/Frameworks/R.framework/Versions/Current/
> Resources/share/texmf:"
>
> (You may well not just be able to append to TEXINPUTS as set, as it
> may or may not have a trailing colon.)
>
> The reason for the caution is that there are TeX distributions in
> which this does not work, and other ways are needed to set the input
> search path -- and that used for R on Windows is one of them.
Thanks it works fine now, both the makefile and the R Sweave command.
Christophe
--
Christophe Dutang
Ph. D. student at ISFA, Lyon, France
website: http://dutangc.free.fr
More information about the R-SIG-Mac
mailing list