R example to folder