[R] Swap code solutions for read / write CSV (#192)