Given the following basic code.
#>
library(xts)
a <- xts(order.by = Sys.Date()-1:3,(8:10))
b <- xts(order.by = Sys.Date()-3:5,(10:12))
c = rbind(a,b)
c
[,1]
2019-04-12 12
2019-04-13 11
2019-04-14 10
2019-04-14 10
2019-04-15 9
2019-04-16 8
View(c)
V1
X2019.04.12 12
X2019.04.13 11
X2019.04.14 10
X2019.04.14.1 10
X2019.04.15 9
X2019.04.16 8
The X shows up with View(c) specifically.
Similarly if I use write.csv(as.data.frame(c),"testout.csv") the output also has the X entries.
I recently updated everything. I have R 3.5.3, Rstudio 1.2.1335 and xts 0.11-2. I believe the significant change is with the latest version of Rstuio.
How can I remove the X's and keep duplicates?
Thank you.