R and CSV updates