Re: [R] how to calculate time offset between timezones?

2008-01-10 Thread Armstrong, Whit
well, strangely, ISOdatetime(2008,1,1,1,0,0,tz="AST") creates a UTC timezone date on my system: > ISOdatetime(2008,1,1,1,0,0,tz="AST") [1] "2008-01-01 01:00:00 UTC" > and if you compare the numeric values of the UTC datetime and the GMT datetime, the are definitely the same: > as.numeric(ISOda

Re: [R] An "R is slow"-article

2008-01-09 Thread Armstrong, Whit
fisher.test seems to use the .C calling convention in a couple of different places. for example: tmp <- .C("fisher_sim", as.integer(nr), as.integer(nc), as.integer(sr), as.integer(sc), as.integer(n), as.integer(B), integer(nr * nc), double(n + 1),

Re: [R] its does not recognize POSIXct w/ both time and Date?

2007-11-05 Thread Armstrong, Whit
can you please give an example that I can cut from your email and run on my machine? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of B. Bogart > Sent: Monday, November 05, 2007 3:51 PM > To: r-help@r-project.org > Subject: [R] its does not recogni

Re: [R] handle dates in R?

2007-09-13 Thread Armstrong, Whit
dts <- c("2004-8-1","2004-10-1","2001-9-1") strptime(dts,"%Y-%m-%d") julian(strptime(dts,"%Y-%m-%d")) > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of zhijie zhang > Sent: Thursday, September 13, 2007 8:19 AM > To: [EMAIL PROTECTED] > Subject: [R]