Displaying 1 result from an estimated 1 matches for "gradefiledata1".
Did you mean:
gradefiledata2
2010 Dec 29
1
Counting number of datasets and appending them
Hi there,
I have a question on how to read a bunch of dataset, assign each of the dataset to a matrix in the memory, and append them.
Suppose I have 20 dataset saved to different .rda files named gradeFileData1, gradeFileData2,...., gradeFileData20. And I would like to read them each into a dataset in the memory, then combine them. I wrote something like:
e1<-new.env(parent=.GlobalEnv)
maxi <- 20
i <- 1
while (i<=maxi) {
e1$d <-1
datanam <- paste("data",i,sep="")
dat...