Thank yoy. this works.
--
View this message in context:
http://r.789695.n4.nabble.com/Creating-data-frames-in-a-loop-tp2195527p2197780.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://stat.ethz
Well you can try
for(i in 1:20) {
assign(paste("ddat",i,sep="_"),data)
other processing...
}
--
View this message in context:
http://r.789695.n4.nabble.com/Creating-data-frames-in-a-loop-tp2195527p2195681.html
Sent from the R help mailing list archive at Nabble.com.
___
On May 11, 2010, at 11:01 PM, Nish wrote:
Hello,
I am new to R and have a question on creating data frames at run
time in a
loop. How can I create it? For example, something like the following
which
will create 20 dataframes.
Well not unless you
for(i in 1:20) {
ddat_ <- data
other p
3 matches
Mail list logo