[R] subscripted assignment of grid units

2009-07-07 Thread pbarros
Hi, I want to do subscripted assignment of grid units, but I cannot find a straightforward way of doing it (and I have searched all forums and places I could think about, including Paul Murrell,s page). The usual subscripted assignment operator does replace the numeric part, but does not update t

Re: [R] Strange behaviour of ISOdatetime

2009-02-11 Thread pbarros
Sorry for missing this part of the posting guide. It was indeed a problem with the locales. I have fixed it now. Pedro David Winsemius wrote: > > My guess is that your two machines have different setting for locale. > What does this produce on each of them: > > sessionInfo()$locale > > (Note

Re: [R] ISOdatetime gives NA for a specific date

2009-02-10 Thread pbarros
Thanks a lot. I will need to change the time to GMT, then, I guess (this is indeed GMT time). Pedro Daylight savings time, I guess. The clock went directly from 1:59 to 3:00 that day. Other systems behave strangely (er, "handle the anomaly") in different ways: > ISOdatetime(1995,03,26,1,10,0)

Re: [R] ISOdatetime gives NA for a specific date

2009-02-10 Thread pbarros
Thanks. Now I know how to handle it. It was killing me Pedro Prof Brian Ripley wrote: > > On Tue, 10 Feb 2009, pbarros wrote: > >> >> Hi all, >> >> I am using ISOdatetime, and I just found out that when I do >> ISOdatetime(1995,03,26,2,10,0) (or any

[R] ISOdatetime gives NA for a specific date

2009-02-10 Thread pbarros
Hi all, I am using ISOdatetime, and I just found out that when I do ISOdatetime(1995,03,26,2,10,0) (or any other value under minutes or seconds) I get NA This does not happen with the same time in other dates, nor with different hours in the same date. Any hint why this happens? Using R 2.8.1 u