Re: [R] strange date problem - May 3, 1992 is NA

2011-06-24 Thread Brian Diggs
On 6/22/2011 2:28 PM, Alexander Shenkin wrote: On 6/22/2011 4:09 PM, Brian Diggs wrote: On 6/22/2011 1:37 PM, Alexander Shenkin wrote: On 6/22/2011 3:34 PM, Brian Diggs wrote: On 6/22/2011 12:09 PM, Luke Miller wrote: For what it's worth, I cannot reproduce this problem under a nearly

Re: [R] strange date problem - May 3, 1992 is NA

2011-06-23 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 22.06.2011 20:40:39: On 6/22/2011 1:34 PM, Sarah Goslee wrote: On Wed, Jun 22, 2011 at 2:28 PM, David Winsemius dwinsem...@comcast.net wrote: On Jun 22, 2011, at 2:03 PM, Sarah Goslee wrote: Hi, On Wed, Jun 22, 2011 at 11:40 AM,

[R] strange date problem - May 3, 1992 is NA

2011-06-22 Thread Alexander Shenkin
is.na(strptime(5/2/1992, format=%m/%d/%Y)) [1] FALSE is.na(strptime(5/3/1992, format=%m/%d/%Y)) [1] TRUE Any idea what's going on with this? Running strptime against all dates from around 1946, only 5/3/1992 was converted as NA. Even stranger, it still seems to have a value associated with it

Re: [R] strange date problem - May 3, 1992 is NA

2011-06-22 Thread Sarah Goslee
Hi, On Wed, Jun 22, 2011 at 11:40 AM, Alexander Shenkin ashen...@ufl.edu wrote: is.na(strptime(5/2/1992, format=%m/%d/%Y)) [1] FALSE is.na(strptime(5/3/1992, format=%m/%d/%Y)) [1] TRUE I can't reproduce your problem on R 2.13.0 on linux: strptime(5/2/1992, format=%m/%d/%Y) [1] 1992-05-02

Re: [R] strange date problem - May 3, 1992 is NA

2011-06-22 Thread Alexander Shenkin
On 6/22/2011 1:03 PM, Sarah Goslee wrote: Hi, On Wed, Jun 22, 2011 at 11:40 AM, Alexander Shenkin ashen...@ufl.edu wrote: is.na(strptime(5/2/1992, format=%m/%d/%Y)) [1] FALSE is.na(strptime(5/3/1992, format=%m/%d/%Y)) [1] TRUE I can't reproduce your problem on R 2.13.0 on linux:

Re: [R] strange date problem - May 3, 1992 is NA

2011-06-22 Thread David Winsemius
On Jun 22, 2011, at 2:03 PM, Sarah Goslee wrote: Hi, On Wed, Jun 22, 2011 at 11:40 AM, Alexander Shenkin ashen...@ufl.edu wrote: is.na(strptime(5/2/1992, format=%m/%d/%Y)) [1] FALSE is.na(strptime(5/3/1992, format=%m/%d/%Y)) [1] TRUE I can't reproduce your problem on R 2.13.0 on

Re: [R] strange date problem - May 3, 1992 is NA

2011-06-22 Thread Sarah Goslee
On Wed, Jun 22, 2011 at 2:28 PM, David Winsemius dwinsem...@comcast.net wrote: On Jun 22, 2011, at 2:03 PM, Sarah Goslee wrote: Hi, On Wed, Jun 22, 2011 at 11:40 AM, Alexander Shenkin ashen...@ufl.edu wrote: is.na(strptime(5/2/1992, format=%m/%d/%Y)) [1] FALSE is.na(strptime(5/3/1992,

Re: [R] strange date problem - May 3, 1992 is NA

2011-06-22 Thread Alexander Shenkin
On 6/22/2011 1:34 PM, Sarah Goslee wrote: On Wed, Jun 22, 2011 at 2:28 PM, David Winsemius dwinsem...@comcast.net wrote: On Jun 22, 2011, at 2:03 PM, Sarah Goslee wrote: Hi, On Wed, Jun 22, 2011 at 11:40 AM, Alexander Shenkin ashen...@ufl.edu wrote: is.na(strptime(5/2/1992,

Re: [R] strange date problem - May 3, 1992 is NA

2011-06-22 Thread Luke Miller
For what it's worth, I cannot reproduce this problem under a nearly identical instance of R (R 2.12.1, Win 7 Pro 64-bit). I also can't reproduce the problem with R 2.13.0. You've got something truly weird going on with your particular instance of R. is.na(strptime(5/3/1992, format=%m/%d/%Y))

Re: [R] strange date problem - May 3, 1992 is NA

2011-06-22 Thread William Dunlap
, June 22, 2011 1:07 PM To: William Dunlap Subject: Re: [R] strange date problem - May 3, 1992 is NA Hi Bill, Thanks for your reply. The results look almost identical to my eyes, except for the mysterious TRUE... methods(is.na) [1] is.na.data.frame is.na.numeric_version

Re: [R] strange date problem - May 3, 1992 is NA

2011-06-22 Thread William Dunlap
wdunlap tibco.com -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of William Dunlap Sent: Wednesday, June 22, 2011 1:23 PM To: Alexander Shenkin; r-help@r-project.org Subject: Re: [R] strange date problem - May 3, 1992 is NA

Re: [R] strange date problem - May 3, 1992 is NA

2011-06-22 Thread Alexander Shenkin
To: Sarah Goslee; r-help@r-project.org Subject: Re: [R] strange date problem - May 3, 1992 is NA On 6/22/2011 1:34 PM, Sarah Goslee wrote: On Wed, Jun 22, 2011 at 2:28 PM, David Winsemius dwinsem...@comcast.net wrote: On Jun 22, 2011, at 2:03 PM, Sarah Goslee wrote: Hi, On Wed, Jun 22

Re: [R] strange date problem - May 3, 1992 is NA

2011-06-22 Thread Brian Diggs
On 6/22/2011 12:09 PM, Luke Miller wrote: For what it's worth, I cannot reproduce this problem under a nearly identical instance of R (R 2.12.1, Win 7 Pro 64-bit). I also can't reproduce the problem with R 2.13.0. You've got something truly weird going on with your particular instance of R.

Re: [R] strange date problem - May 3, 1992 is NA

2011-06-22 Thread Alexander Shenkin
On 6/22/2011 3:34 PM, Brian Diggs wrote: On 6/22/2011 12:09 PM, Luke Miller wrote: For what it's worth, I cannot reproduce this problem under a nearly identical instance of R (R 2.12.1, Win 7 Pro 64-bit). I also can't reproduce the problem with R 2.13.0. You've got something truly weird going

Re: [R] strange date problem - May 3, 1992 is NA

2011-06-22 Thread Brian Diggs
on your machine. Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com -Original Message- From: Alexander Shenkin [mailto:ashen...@ufl.edu] Sent: Wednesday, June 22, 2011 1:07 PM To: William Dunlap Subject: Re: [R] strange date problem - May 3, 1992 is NA Hi Bill, Thanks for your reply

Re: [R] strange date problem - May 3, 1992 is NA

2011-06-22 Thread Brian Diggs
On 6/22/2011 1:37 PM, Alexander Shenkin wrote: On 6/22/2011 3:34 PM, Brian Diggs wrote: On 6/22/2011 12:09 PM, Luke Miller wrote: For what it's worth, I cannot reproduce this problem under a nearly identical instance of R (R 2.12.1, Win 7 Pro 64-bit). I also can't reproduce the problem with R

Re: [R] strange date problem - May 3, 1992 is NA

2011-06-22 Thread Alexander Shenkin
On 6/22/2011 4:09 PM, Brian Diggs wrote: On 6/22/2011 1:37 PM, Alexander Shenkin wrote: On 6/22/2011 3:34 PM, Brian Diggs wrote: On 6/22/2011 12:09 PM, Luke Miller wrote: For what it's worth, I cannot reproduce this problem under a nearly identical instance of R (R 2.12.1, Win 7 Pro 64-bit).