Displaying 2 results from an estimated 2 matches for "r40774".
2007 Feb 21
1
Adding difftime objects to POSIXt objects
Hello,
?DateTimeClasses states that "one can add or subtract a number of
seconds or a 'difftime' object from a date-time object, but not add two
date-time objects."
So, is the below expected behavior?
> x <- Sys.time()
> x
[1] "2007-02-21 16:19:56 CST"
> x + as.difftime("1","%H")
[1] "2007-02-21 16:19:57 CST"
Warning
2007 Feb 21
3
non-interactive R_tryEval does not return
...a different argument.
[1] 3
versus (non-interactive; no return)
> ./tryEval --slave < tmp.R
Error in sqrt("") : Non-numeric argument to mathematical function
Execution halted
> echo "sessionInfo()" | R --slave
R version 2.5.0 Under development (unstable) (2007-02-21 r40774)
x86_64-unknown-linux-gnu
locale:
LC_CTYPE=en_US;LC_NUMERIC=C;LC_TIME=en_US;LC_COLLATE=en_US;LC_MONETARY=en_US;LC_MESSAGES=en_US;LC_PAPER=en_US;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US;LC_IDENTIFICATION=C
attached base packages:
[1] "stats" "graphics"...