updated bash scripts to run R scripts

Signed-off-by: beccawilson <rebecca.c.wilson@gmail.com>