Re: [Rcpp-devel] NA value for dates

2012-10-06 Thread Theodore Lytras
Στις Σαβ 06 Οκτ 2012, ο/η Dirk Eddelbuettel έγραψε: > On 6 October 2012 at 11:05, Dirk Eddelbuettel wrote: > | I had a look too. It is not as simple. > > Actually, it was that simple. > > And this is now taken care of in an interim version labelled 0.9.14.2 which > you'll find on my site in a mom

[Rcpp-devel] Help needed for clang++ testing on OS X and Linux

2012-10-06 Thread Dirk Eddelbuettel
There is an embarassing story here in how I made myself a bit of a laughing stock by supporting clang++ (around 2.*), updating for 3.0 (and breaking for 3.1), adjusting for 3.1 (and thereby breaking 3.0) ... all over the last few releases. Luckily Martin Morgan, who had reported that recent "you

Re: [Rcpp-devel] NA value for dates

2012-10-06 Thread Dirk Eddelbuettel
On 6 October 2012 at 11:05, Dirk Eddelbuettel wrote: | I had a look too. It is not as simple. Actually, it was that simple. And this is now taken care of in an interim version labelled 0.9.14.2 which you'll find on my site in a moment, and via R-Forge once new tarballs are built. Rcpp 0.9.15 wil

Re: [Rcpp-devel] NA value for dates

2012-10-06 Thread Dirk Eddelbuettel
On 6 October 2012 at 09:21, Dirk Eddelbuettel wrote: | Keep going. Keep sending email. I have some errands to do but will be around | email frequently enough. I had a look too. It is not as simple. For now, I recommend you simply do /not use/ NA, NaN, ... for dates. I think R catches a lot of th

Re: [Rcpp-devel] NA value for dates

2012-10-06 Thread Dirk Eddelbuettel
Hi Theodore, On 6 October 2012 at 10:15, Theodore Lytras wrote: | I would LOVE to offer assistance, but I don't think I can do much - my C/C++ | knowledge is fairly limited. We all said that at one point. Learning is about getting further, one step at a time. | I checked out Rcpp's src/Date.c

Re: [Rcpp-devel] NA value for dates

2012-10-06 Thread Christian Gunning
+1 > I would LOVE to offer assistance, but I don't think I can do much - my C/C++ > knowledge is fairly limited. Seems to me like you're doing pretty well so far! As often as not, identifying the *location* of the problem is the hardest part. > I checked out Rcpp's src/Date.cpp . It seems all t

Re: [Rcpp-devel] NA value for dates

2012-10-06 Thread Theodore Lytras
Στις Σαβ 06 Οκτ 2012, ο/η Dirk Eddelbuettel έγραψε: > | Shouldn't there be a special value (like R_NaInt) or a special object or > | something, that represents NA dates?? > > Maybe. Feel like working on a patch? src/RcppDate.cpp is pretty > straightforward and mostly free of template magic. It m