Peter Dalgaard wrote:
> Allan Engelhardt wrote:
>   
>> [...]
>> Getting rid of the conversions including the matrix(unlist) combo is
>> left as an exercise (it's too hot here....)
>>     
>
> Here's one way:
>
> con <- textConnection(as.character(a$ip))
> o <- do.call(order,read.table(con,sep="."))
> close(con)
> a[o,]
>   
That is just insanely neat!  Thank you Peter.  We are not worthy....  ;)

Allan


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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.

Reply via email to