-
0 votesanswersviews
将R数据帧写入excel文件时,时间戳会发生变化,具体取决于UTC偏移量
我正在尝试将数据帧写入excel文件 . 示例数据帧如下所示 . 由于时间戳是 factor 类,我使用lubridate包将其转换为 POSIXct 格式 . library(lubridate) library(xlsx) df=structure(list(ts = structure(c(5L, 8L, 9L, 1L, 6L, 7L, 4L, 2L, 3L), .Label = c(&q...