Read files in a folder when new data files come
Hello, Could you tell us something more about your infrastructure? Windows? Linux? On Unix/Linux you could use cron to have a R process to read all the files in the given directory, process them one by one and archive them in another place. On Windows, no idea. Alternatively, you could perhaps ask your users to use some kind of web interface to upload the data. This interface could then trigger an R process. Best regards, Carlos J. Gil Bellosta http://www.datanalytics.com
jlfmssm wrote:
Hello, I am working on a project. The new data files is coming as the data collectors get data, then the data collectors put these new data files in a folder. I need to read these new data files when they are in folder. so far, I did this job manually, that is to say, each time I go to that folder and find new data files, then use my R program to read these new data files. I am wondering if anyone know how to perform this job automatically in R. thanks, jlm
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.