savePlotAsImage function

Save active RStudio plot image