Re: [R] Sorting Text Frames

2005-09-07 Thread Uwe Ligges
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

Re: [R] Sorting Text Frames

2005-09-07 Thread Murray Jorgensen
Uwe Ligges wrote: > I guess there is just too much space or some special characters in your > variables that cause problems when printing ... > Hence you have to "debug" your data yourself. > > Uwe Ligges However the problem persists when I don't try to print the fram "thanks" to a file. thank

Re: [R] Sorting Text Frames

2005-09-06 Thread Uwe Ligges
Murray Jorgensen wrote: > [Using 2.0.1 under Windows XP] > There are a few pages on the internet that list equivalents of > "thank you" in many languages. I downloaded one from a Google search > and I thought that it would be interesting and a good R exercise to > sort the file into the order of th

[R] Sorting Text Frames

2005-09-06 Thread Murray Jorgensen
[Using 2.0.1 under Windows XP] There are a few pages on the internet that list equivalents of "thank you" in many languages. I downloaded one from a Google search and I thought that it would be interesting and a good R exercise to sort the file into the order of the expressions, rather than the lan