[R] check for new files in a given directory

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Jul 28 15:19:22 CEST 2009



Andreas Posch wrote:
> I am trying to continuously evaluate online created data files using
> R-algorithms. Is there any simple way to let R iteratively check for new
> files in a given directory, load them and process them? I am using R on
> Windows XP. 


See ?list.files and ?setdiff

Uwe Ligges


> Any help would be highly appreciated.
> 
> Best, A.
> 
>  
> 
>  
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> 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.




More information about the R-help mailing list