Re: [R] Sorting a list

2008-07-07 Thread milton ruser
foo[sort.list(unlist(foo))] may help you, but I think that this is not your final solution. Cheers, miltinho astronauta brazil On 7/7/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Dear R Users, > > A bit of a simple question, but I could not find the answer thru google > ("sorting lists r

Re: [R] Sorting a list

2008-07-07 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: > Dear R Users, > > A bit of a simple question, but I could not find the answer thru google > ("sorting lists r cran","how can i sort a list r cran") or RSiteSearch... > how can I sort a list ? > > One imagines something like sort.list would do the job, but that's not th

[R] Sorting a list

2008-07-07 Thread tolga . i . uzuner
Dear R Users, A bit of a simple question, but I could not find the answer thru google ("sorting lists r cran","how can i sort a list r cran") or RSiteSearch... how can I sort a list ? One imagines something like sort.list would do the job, but that's not the one. > foo<-list(a=10,b=2,c=3) >