1st version of R and plots