Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > foo = as.POSIXct(c("2015-10-10 UTC","2015-10-11 UTC"))
- > foo
- [1] "2015-10-10 GMT" "2015-10-11 GMT"
- > for (i in foo) print(i)
- [1] 1444435200
- [1] 1444521600
- > for (i in 1:2) print(foo[i])
- [1] "2015-10-10 GMT"
- [1] "2015-10-11 GMT"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement