I have a for loop as
for(i in c("a","b","c","d"))
{
as.name(paste("df",i,sep=""))= mydataframe
}
mydataframe is a data frame and I want to create data frames dfa,dfb,dfc and dfd using this loop.
The as.name(paste("df",i,sep="")) does not work here. I do not want to create a list that has the 4 data frames.
Can I directly create 4 data frames from this loop?