Thanks to Patrick Burns and Mark Lyman for their suggestions in solving my problem.
Patrick suggested creating the list directly (the solution I opted for).... On 7/23/07, Patrick Burns <[EMAIL PROTECTED]> wrote: > Why not make the list directly: > > list.to.convert <- vector('list', n) > for(x in 1:n) list.to.convert[[x]] <- seq((2*x)-1, 2*x) > > S Poetry may be of use to you. Whilst Mark suggested the correct evaluation of the character object.... > > > list(1:2, 3:4, 5:6) > > [[1]] > > [1] 1 2 > > > > [[2]] > > [1] 3 4 > > > > [[3]] > > [1] 5 6 > > > > > eval(parse(text=paste("list(",to.convert,")",sep=""))) > [[1]] > [1] 1 2 > > [[2]] > [1] 3 4 > > [[3]] > [1] 5 6 > > [[4]] > [1] 7 8 > > [[5]] > [1] 9 10 > > [[6]] > [1] 11 12 -- "In mathematics you don't understand things. You just get used to them." - Johann von Neumann Email - [EMAIL PROTECTED] / [EMAIL PROTECTED] Website - http://slack.ser.man.ac.uk/ Photos - http://www.flickr.com/photos/slackline/ ______________________________________________ R-help@stat.math.ethz.ch 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.