Hi
I have imported some files to a list, called "importa".
There are 43 files (importa[1], importa[2], ..., importa[43]). Now, I'm
trying to create a new table in "r". Each table will got the data from the
importa partition. Like file1<-importa[1].
I tried two ways:
c<-list()
for (i in 1:43) {
c[i]=paste("prova",a[i],sep="")}
i <- 1
for (j in c)
{
j<-importa[i]
i <- i + 1
}
In this one, the program created only one table, called "j" with the data of
the importa[43].

The second trial:
c<-list()
for (i in 1:43) {
c[i]=paste("prova",a[i],sep="")}

i <- 1
a<-list()
for (j in c)
{
a[j]<-importa[i]
i <- i + 1
}
In this one the program created another list, with the subdivisions just
like the "importa".

Anyone knows what I got to do?
Thank you very much

-- 
Breno Fragomeni
Mestrando em GenĂ©tica e Melhoramento Animal - Escola de VeterinĂ¡ria - UFMG
Genetics and Animal Breeding Master's Degree Student - UFMG

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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.

Reply via email to