add plot and R files