[R] How to use a for loop to generate two sequences

Xiaohua Dai ecoinformatics at gmail.com
Thu Jun 29 21:44:55 CEST 2006


Hi R users,

Hope the question is not too simple:

How to use a for loop to generate two lists as below:

testlist <- list(test1, test2, ..., test1000)
stringlist <- list("test1","test2",...,"test1000")

Thanks
Xiaohua



More information about the R-help mailing list