Displaying 1 result from an estimated 1 matches for "3dsys".
Did you mean:
ldsys
2008 Aug 07
0
sapply(Date, is.numeric) (PR#12221)
...-----Original Message-----
From: McGehee, Robert=20
Sent: Monday, July 14, 2008 9:51 AM
To: R-bugs at biostat.ku.dk
Subject: sapply(Date, is.numeric)
R-developers,
The results below are inconsistent. From the documentation for
is.numeric, I expect FALSE in both cases.
> x <- data.frame(dt=3DSys.Date())
> is.numeric(x$dt)
[1] FALSE
> sapply(x, is.numeric)
dt
TRUE
## Yet, sapply seems aware of the Date class
> sapply(x, class)
dt
"Date"
platform i386-pc-mingw32 =20
arch i386 =20
os mingw32...