Displaying 1 result from an estimated 1 matches for "edge_".
Did you mean:
edge
2009 Jul 22
3
How to use macro variable in a text string
I want to use read.table to input many files, each for a different year. I
would like to use the macro variable 't' to refer to the exact file that I
would like to input the data using read.table. How could I do this? Thank
you!
for (t in 1970:2005)
{ edge <- read.table(file="edge_t.csv", header=T, sep=",")
## I will have many rows of code following the read.table line
}
--
View this message in context: http://www.nabble.com/How-to-use-macro-variable-in-a-text-string-tp24615030p24615030.html
Sent from the R help mailing list archive at Nabble.com.