How do I source a bunch of files in different directories in R?

> From: metal_lical...@live.com
> To: r-help@r-project.org
> Date: Wed, 30 Sep 2009 13:45:34 +0300
> Subject: [R] Change directory to implement same programes
> 
> 
> HI, R-Users,
> 
> I have one problem:
> 
> I have written the the programs which process all file in one directory: for 
> example:
> 
> setwd("C:/Documents and Settings/lma/My Documents/Vappu-saved/Log") as the 
> start.
> ..........
> 
> But I have many folders like "Vappu-saved" and there are a lot of files in 
> each directory. What I want is using the same program what I write for the 
> above directory
>  to autimatically change directory address to implement the above programs 
> what I wrote. How do I realize it?
> 
> Thanks a lot.
> 
> Regards,
> Lingyi
>                                         
> _________________________________________________________________
> Windows LiveĀ™: Keep your life in sync. Check it out!
> http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009
>       [[alternative HTML version deleted]]
> 
                                          
_________________________________________________________________
Show them the way! Add maps and directions to your party invites. 
http://www.microsoft.com/windows/windowslive/products/events.aspx
        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to