3 mkdir -p ..
/summariesByStation
5 files
=`ls ../aggexp/data/*.csv`
7 stationName
=`basename -s .csv $file`
8 sed "s/STATIONNAME/$stationName/g" modele.Rnw
> tmp.Rnw
10 "ALE"|"MRA"|"NEI"|"MAS")
11 sed -i "s/EXPERTSINDICES/c(1:4,6:10)/" tmp.Rnw
14 sed -i "s/EXPERTSINDICES/1:10/" tmp.Rnw
17 R CMD BATCH runSummary.R
19 mv tmp.pdf ..
/summariesByStation
/$stationName.pdf