[Rd] Weird issue when iterating through dates

Gábor Csárdi csardi.gabor at gmail.com
Thu Aug 6 14:36:39 CEST 2015


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

[...]



More information about the R-devel mailing list