2 run <- as.numeric(commandArgs(TRUE)) + 1
3 run.string <- sprintf("%03d", run)
5 setwd(redirect.dat.dir)
6 redirect.spells <- filename.to.spells(list.files()[run])
9 save(redirect.spells, file=paste("redirect_spells-", run.string, ".RData", sep=""))