Skip to content
Prev 171373 / 398506 Next

Semantics of sequences in R

Stefan Evert wrote:
yes, it is nonsense.  yes, there is one person who repeatedly made this
claim.  please read the archives; specifically, [1]. note this statement:

	"Note that any vector can be considered to be a list."


[1] https://stat.ethz.ch/pipermail/r-help/2009-February/186932.html

when you're talking about nonsense, please attribute it to the right person.
not *all* lists are vectors;  pairlists are not, though they are lists.
but
   
    mode(unlist(a))
    # "numeric"
    class(unlist(a))
    # integer
which original comment?
irrespectively of how exotic sorting lists of vectors can be in a system
for the manipulation of a comprehensive range of sorts of data, having a
procedure called 'sort.list' complain about being called on a list is a
sure source of confusion. 

how much is it likely that people will want to sort complex numbers in a
system where complex numbers are incomparable?

best,
vQ