Displaying 1 result from an estimated 1 matches for "r_prg".
Did you mean:
  _prg
  
2009 Sep 08
1
makefile for sweave
...:=.tex) ${OTHER} makefile
    TEXINPUTS=${TPUTS} pdflatex $<
    TEXINPUTS=${TPUTS} pdflatex $<
    rm *.log
#    mv *.aux  $(dir $<)
# How to build the tex files from the Rnw (Sweave) files
%.tex: %.Rnw
    echo "library(utils); options(width=60);  Sweave('$<')" | ${R_PRG}
--no-save --vanilla
    mv $(notdir $*.tex)  $(dir $<)
# How to build the R code files from the Rnw (Sweave) files
%.R: %.Rnw
    echo "library(utils); Stangle('$<')" | ${R_PRG} --no-save --vanilla
%.bib:
    TEXINPUTS=${TPUTS} pdflatex $<
    bibtex $<
%.aux:...