Re: [R] Different time between date() and Sys.date()

2010-10-23 Thread Uwe Ligges
On 21.10.2010 19:53, David Winsemius wrote: On Oct 21, 2010, at 11:59 AM, omerle wrote: Thanks for you answer. It s sufficient but I d like to know why my system think I am CEST and yours think your are EDT. It probably acquired it from your OS at the time of R's installation. No, the

[R] Different time between date() and Sys.date()

2010-10-21 Thread omerle
Hi, I got two different times between these functions : date() [1] Thu Oct 21 12:11:37 2010 Sys.time() [1] 2010-10-21 10:11:40 GMT I know that its because I did Sys.setenv(TZ=GMT). Even if my system is set by default at CEST. I think that the difference between date() and Sys.time() is equal

Re: [R] Different time between date() and Sys.date()

2010-10-21 Thread David Winsemius
On Oct 21, 2010, at 6:19 AM, omerle wrote: Hi, I got two different times between these functions : date() [1] Thu Oct 21 12:11:37 2010 Sys.time() [1] 2010-10-21 10:11:40 GMT I know that its because I did Sys.setenv(TZ=GMT). Even if my system is set by default at CEST. I think that

Re: [R] Different time between date() and Sys.date()

2010-10-21 Thread omerle
: Re: [R] Different time between date() and Sys.date() On Oct 21, 2010, at 6:19 AM, omerle wrote: Hi, I got two different times between these functions : date() [1] Thu Oct 21 12:11:37 2010 Sys.time() [1] 2010-10-21 10:11:40 GMT I know that its because I did Sys.setenv(TZ=GMT

Re: [R] Different time between date() and Sys.date()

2010-10-21 Thread David Winsemius
setting and changing it in my system does the trick: Sys.time() [1] 2010-10-21 19:48:42 CEST -- David. Do you know where can I find a list of the timezone ? Message du 21/10/10 15:07 De : David Winsemius A : omerle Copie à : r-help@r-project.org Objet : Re: [R] Different time between