when R issued warning messages on this command
`setwd("~/Desktop/Project R")
Warning message:
In format.POSIXlt(as.POSIXlt(x), ...) :
unknown timezone 'default/Asia/Kolkata'`
So, I tried to create a date for this TZ by typing
as.POSIXct("2017-11-01 10:52", "%Y-%m-%d %H:%M", tz = "Asia/Kolkata")
[1] "2017-11-01 10:52:00 IST"
Warning messages:
1: In strptime(x, format, tz = tz) :
unknown timezone 'default/Asia/Kolkata'
2: In as.POSIXct.POSIXlt(as.POSIXlt(x, tz, ...), tz, ...) :
unknown timezone 'default/Asia/Kolkata'
3: In as.POSIXlt.POSIXct(x, tz) : unknown timezone 'default/Asia/Kolkata'
but warning messages refuse to go? Is there a solution to permanently eliminate these warnings.
source
share