[R] Questions about paste and assign

Tong Wang wangtong at usc.edu
Sun Jan 14 04:14:02 CET 2007

    I would like to assign a value to a member b  of the list  a  in position 3,   by calling:  

                                            assign( target, 2.34, 3)

My question is what the "target" should be.   I tried target <- paste("a", $, "b")   and something else, 
but haven't got the right answer yet.  

BTW, if I attached a list named  "mylist" in position 3,  to refer to this environment, besides 3, what's the 
right name ?

Thanks a lot for any help


More information about the R-help mailing list