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

lore at zhaw.ch lore at zhaw.ch
Thu Sep 13 13:34:56 CEST 2007


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!



More information about the R-devel mailing list