[BioC] how to load RData in a loop with different file name?

Byron Ellis byron.ellis at gmail.com
Mon Jun 25 19:50:51 CEST 2007


for(i in 1:N) { load(paste("A",i,".RData",sep="")) }

On 6/25/07, James Anderson <janderson_net at yahoo.com> wrote:
> Hi,
>
> I have 10 .RData files with names A1.RData, A2.RData, ...,A10.RData. Is there an automatic way to load those data in a loop so that for each iteration k, it reads in Ak.RData? I know how to do this for "save" command so that each iteration, but don't know how to do it using "load" command.
>
> Thanks a lot!
>
> James
>
>
> ---------------------------------
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
>


-- 
Byron Ellis (byron.ellis at gmail.com)
"Oook" -- The Librarian



More information about the Bioconductor mailing list