[R] Sorting Text Frames

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed Sep 7 12:48:10 CEST 2005


Murray Jorgensen wrote:

>  > thanks <- read.fwf("C:\\Files\\Reading\\thankyou.txt", c(43,37))

[CCing R-help again: I have looked at Murray Jorgensen's data in the 
meantime]

tord <- order(thanks$V2)
sink("C:\\thanks.txt")
thanks[tord,]
sink()

Works for me with R-2.1.1.

--> Please upgrade your version of R and try again.


Uwe Ligges




More information about the R-help mailing list