Is this what you are looking for ...
mylist=list()
for (i in 1:3){
mylist[i] = rnorm(1)
}
print(mylist)
HTH
Pete
--
View this message in context: http://r.789695.n4.nabble.com/appending-to-a-list-tp2527597p2527635.html
Sent from the R help mailing list archive at Nabble.com.