Re: [R] Timezone issue with strftime/strptime and %z and %Z

2011-03-11 Thread Daniel Nüst
2011/3/11 David Winsemius : > > On Mar 11, 2011, at 8:54 AM, Daniel Nüst wrote: >> Let me rephrase my question: How can I create a time object from the >> character string "1995-05-25T15:30:00-10:00" and get exactly the same >> character string again when

Re: [R] Timezone issue with strftime/strptime and %z and %Z

2011-03-11 Thread Daniel Nüst
95-05-25T15:30:00+" > # Time zone is ignored on parsing, so imho correct behaviour. So while it still looses the time zone when having a ":" in it, it at least prints it out correctly. So imho this is a Windows issue, maybe this helps someone figuring out a solution. This

Re: [R] Timezone issue with strftime/strptime and %z and %Z

2011-03-11 Thread Daniel Nüst
2011/3/11 David Winsemius : > On Mar 10, 2011, at 8:46 PM, David Winsemius wrote: >> On Mar 10, 2011, at 11:17 AM, Daniel Nüst wrote: >>> I try to parse a time stamp with time zone. I essentially just want to >>> parse the time stamp "1995-05-25T15:30:00+10:00"

[R] Timezone issue with strftime/strptime and %z and %Z

2011-03-10 Thread Daniel Nüst
Hello! I've been trying to get this right for quite a while now and fear there is an easy solution I just don't see. I did not have this problem in Linux, and I searched r-help and Google but did not find a solution, but of course I am grateful for and resources I might not have found our not unde

[R] Define package-wide character constants

2010-07-13 Thread Daniel Nüst
Dear list! I develop a package for R and wonder how I can best define package-wide constants (both character strings or named vectors of strings) which are used throughout different classes and methods. I'm new to R and wonder if there is some kind of “best practice” that I just haven't read of ye