[Rd] julian: origin argument does not accept POSIXlt objects (PR#9908)

From: <lore_at_zhaw.ch>
Date: Thu, 13 Sep 2007 13:34:56 +0200 (CEST)


Full_Name: Rene Locher
Version: 2.5.1 (2007-06-27)
OS: i386-pc-mingw32
Submission from: (NULL) (160.85.231.54)

julian(as.POSIXlt("1999-2-1"),origin=as.POSIXlt("1999-1-1"))

                                             ^
gives error:
Error in julian.POSIXt(as.POSIXlt("1999-2-1"), origin = as.POSIXlt("1999-1-1")) :

        'origin' must be of length one

julian(as.POSIXlt("1999-2-1"),origin=as.POSIXct("1999-1-1")) works perfect!



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 13 Sep 2007 - 12:27:07 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 13 Sep 2007 - 16:40:48 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.