Re: [R] variables with dynamic names?

From: JeeBee <JeeBee_at_troefpunt.nl>
Date: Tue 24 Oct 2006 - 12:05:49 GMT

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@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.



R-help@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. Received on Tue Oct 24 22:11:40 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 24 Oct 2006 - 12:30:13 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.