Puedo escribir un objeto xts usando write.csv en R

Tengo un objeto xts, cuya primera columna es fecha-hora, seguida de OHLC. cuando escribo

>test

it imprime la salida correcta de la siguiente manera:

2010-09-08 15:13:00   115   115  110    115
2010-09-08 15:14:00   120   125  115    125

sin embargo, cuando trato de escribir write.csv (prueba, "test.csv") solo escribe OHLC - por qué. ¿Qué comando utilizo para escribir también la fecha y hora

Así se ve str (prueba):

An ‘xts’ object from 2010-06-30 15:47:00 to 2010-09-08 15:14:00 containing:
  Data: num [1:21757, 1:4] 215 220 205 195 185 ...
 - attr(*, "dimnames")=List of 2
  ..$ : NULL
  ..$ : chr [1:4] "y.Open" "y.High" "y.Low" "y.Close"
  Indexed by objects of class: [POSIXlt,POSIXt] TZ: 
  xts Attributes:  
 NULL

Respuestas a la pregunta(6)

Su respuesta a la pregunta