From csardi.gabor at gmail.com  Thu Aug  6 14:36:39 2015
From: csardi.gabor at gmail.com (=?UTF-8?B?R8OhYm9yIENzw6FyZGk=?=)
Date: Thu, 6 Aug 2015 08:36:39 -0400
Subject: [Rd] Weird issue when iterating through dates
In-Reply-To: <CAFnz2-8902ztc-=gcwcA4jnYHkX9PL0oNMctGjtmXdynQjYRcg@mail.gmail.com>
References: <CAFnz2--pK12My=sJ-N0sykXi0zQa+qwtR42iZo2fBrpiTTWOCg@mail.gmail.com>
	<CABtg=K=b5Amh17=9wZ=g2j9F63KtYEYSDWoQEOGx7kvYEdBHZA@mail.gmail.com>
	<CAFnz2-8902ztc-=gcwcA4jnYHkX9PL0oNMctGjtmXdynQjYRcg@mail.gmail.com>
Message-ID: <CABtg=K=PB+r1FHuzcK1pGMXQFo=peuTGWx_CL_CczkspwXq3SA@mail.gmail.com>

On Thu, Aug 6, 2015 at 6:30 AM, Luca Cerone <luca.cerone at gmail.com> wrote:
[...]
> Just a quick question: what's the difference between  `[.Date` and  `[[.Date`?
> Is it supposed to be the method for accessing the value right?

For Dates and atomic vectors in general they are the same, but in
general they are two different operators that behave differently on
some data types. E.g. on lists [ selects a sub-list and [[ selects a
single element.

Gabor

[...]



[Rd] Weird issue when iterating through dates
=?UTF-8?B?R8OhYm9yIENzw6FyZGk=?=