当我调用Sys.time()函数时,它会显示“GMT”的时间,但会显示“IST”。这怎么可能?我怎么能改变这个?
> Sys.time()
[1] "2016-03-02 08:38:48 IST"
IST实际上是格林尼治标准时间+05:30所以它应该显示“2016-03-02 14:08:48 IST”
这是怎么回事?
编辑:根据评论中的请求。
我在印度的“IST”印度标准时间使用这台电脑,这是我当地时间。
根据请求,这是sessionInfo()的输出:
> sessionInfo()
R version 3.2.2 (2015-08-14)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu precise (12.04.5 LTS)
locale:
[1] LC_CTYPE=en_IN.UTF-8 LC_NUMERIC=C LC_TIME=en_IN.UTF-8 LC_COLLATE=en_IN.UTF-8 LC_MONETARY=en_IN.UTF-8
[6] LC_MESSAGES=en_IN.UTF-8 LC_PAPER=en_IN.UTF-8 LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_IN.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] highfrequency_0.4 plyr_1.8.3 quantmod_0.4-5 quadprog_1.5-5 timeSeries_3022.101 timeDate_3012.100 TSA_1.01
[8] mgcv_1.8-7 nlme_3.1-121 locfit_1.5-9.1 leaps_2.9 tseries_0.10-34 TTR_0.23-0 xts_0.9-7
[15] zoo_1.7-12 biglm_0.9-1 DBI_0.3.1 biganalytics_1.1.1 bigmemory_4.4.6 BH_1.58.0-1 bigmemory.sri_0.1.3
loaded via a namespace (and not attached):
[1] Rcpp_0.12.0 lattice_0.20-33 grid_3.2.2 Matrix_1.2-2 tools_3.2.2