For example, if my bash command is:
Rscript $wd/scripts/test.R celFiles=$celFiles
I would like to be able to access this argument in R as such:
args=commandArgs(trailingOnly=T)
args['celFiles']
Sadly, this produces an "NA", while args[1]
seems to work.
Thanks in advance.