Advertisement
Guest User

Untitled

a guest
Dec 4th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. > foo = as.POSIXct(c("2015-10-10 UTC","2015-10-11 UTC"))
  2. > foo
  3. [1] "2015-10-10 GMT" "2015-10-11 GMT"
  4.  
  5. > for (i in foo) print(i)
  6. [1] 1444435200
  7. [1] 1444521600
  8.  
  9. > for (i in 1:2) print(foo[i])
  10. [1] "2015-10-10 GMT"
  11. [1] "2015-10-11 GMT"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement