iteration <- 1 varName <- paste("run",iteration,sep="") myList$parse(text=varName) <- aColumn
I want to take some existing variable "aColumn" and use the name "varName" name for it and put it into a list "myList". That use fails with this error:
Error: couldn't find function "(<-"
I've tried many variations on the theme.
If I could do this with a data frame, I would be just as happy. Right now I'm using a list rather than a data frame because not all columns are of the same length. But I can work around that.
-- Paul E. Johnson email: [EMAIL PROTECTED] Dept. of Political Science http://lark.cc.ukans.edu/~pauljohn University of Kansas Office: (785) 864-9086 Lawrence, Kansas 66045 FAX: (785) 864-5700
______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help