R output file put in R/ directory