#!/bin/bash
dir="$(cd "$(dirname "$0")" && pwd)"
Rscript --verbose $R_SCRIPT_PATH/RScript.r $1 "$2.png" 2>&1
mv -f "$2.png" $2

