bash for loop through an array with with args
for i in "${PXD[@]}" do echo "$i" Rscript $SCRIPTS/parser_argumented.R --PXD "$i" done