fork download
  1.  
  2. timedata <- c("2007-04-14 17:41:00 CST","2007-11-18 12:47:00 CST","2007-04-14 15:41:00 CST")
  3.  
  4. # 轉成POSIXct格式
  5. timedata <- as.POSIXct(timedata, format="%Y-%m-%d %H:%M:%S")
  6.  
  7. write.csv(timedata, "test1.csv")
  8. write.xlsx2(timedata, "test2.xlsx")
Success #stdin #stdout #stderr 0.45s 79168KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Error: could not find function "write.xlsx2"
Execution halted