Skip to content
Prev 171380 / 398506 Next

Semantics of sequences in R

Sorry, I missed that one.  Unfortunately I haven't kept a copy of the  
posting I was referring to and I can't find a page that allows me to  
search the February archives.
Well, you _are_ repeating it, aren't you?  Since you are so pedantic  
about the semantics of programming languages, you certainly can't  
complain about that statement.

I take back everything I wrote after that on the matter. Sorry!
Didn't someone just say that it would probably be best to hide  
pairlists from users entirely?
Well, yes, that was the solution, wasn't it?  Since a list is a  
vector, you have to unlist() it explicitly to turn it into a "plain"  
vector. Except that it flattens the list, which is an entirely  
different operation than a mere mode change.  So I don't really  
understand what that comment was supposed to mean.
Only until you read ?sort, isn't it?
I can only say that I'm not likely to want that either, but obviously  
someone did so it was implemented (I am sure that one factor leading  
to their decision was that this method does not clash with an existing  
function).

Cheers,
Stefan