From Waclaw.Marcin.Kusnierczyk at idi.ntnu.no  Sat May 30 00:25:26 2009
From: Waclaw.Marcin.Kusnierczyk at idi.ntnu.no (Wacek Kusnierczyk)
Date: Sat, 30 May 2009 00:25:26 +0200
Subject: [Rd] Why change data type when dropping to one-dimension?
In-Reply-To: <8b356f880905291517q49573f79v84f60b93c3906572@mail.gmail.com>
References: <4A2054BB.3010900@cs.dartmouth.edu>
	<8b356f880905291517q49573f79v84f60b93c3906572@mail.gmail.com>
Message-ID: <4A2060D6.3020401@idi.ntnu.no>

Stavros Macrakis wrote:
> This is another example of the general preference of the designers of R for
> convenience over consistency.
>
> In my opinion, this is a design flaw even for non-programmers, because I
> find that inconsistencies make the system harder to learn.  Yes, the naive
> user may stumble over the difference between m[[1,1]] and m[1,1] a few times
> before getting it, but once he or she understands the principle, it is
> general.
>   

+1

vQ



[Rd] Why change data type when dropping to one-dimension?
Wacek Kusnierczyk