EXPORT DATA TO r