add R file with dataset plot function