[R] variables with dynamic names?

JeeBee JeeBee at troefpunt.nl
Tue Oct 24 14:05:49 CEST 2006


You can use list.files to obtain the file names, see
?list.files

Read the "comma seperated values" files with read.cvs, see
?read.csv

JeeBee.


On Tue, 24 Oct 2006 13:33:42 +0200, Antje wrote:

> Hello,
> 
> I have the following problem. I have a set of CSV files and they are 
> named for a special position in a matrix (e.g. "A01.csv", "F06.csv", 
> "H11.csv")
> 
> Now, I would like to read in the data of all these files and eveluate 
> something for each set (and write it at the position in a result matrix).
> How can I realize this with R?
> 
> Ciao,
> Antje
> 
> ______________________________________________
> R-help at stat.math.ethz.ch 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