Joris De Wolf wrote: > Are your sure your second solution does not work? Try again... > >
Turns out the second approach did work - but only once I stopped cutting-and-pasting between two different operating systems (Linux and Windows under Linux). Apparently, some of the cut-and-paste things I was doing added weird EOL characters (unseen) or some such... Ah well. ______________________________________________ R-help@stat.math.ethz.ch 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.