Hello I am trying to create an xts object from a data frame that has numeric
and string variables. when I create the object all my variables are
converted to string, this is my original data frame:

> head(DatosF)
  FECHA CIERRE HORA DE CIERRE SESION/RUEDA PLAZO (De regreso para SIML,
Repos e INTB)  INSTRUMENTO TASA/ PRECIO TASA/ PRECIO EQUIV# VR# NOMINAL
CONTRAVALOR
1     20090803         080943
CONH                                          0 TFIT06140514
103.558               8.301       5e+09  5280535000
2     20090803         080944
CONH                                          0 TFIT06140514
103.562               8.300       2e+09  2112294000
3     20090803         081108
CONH                                          0 TUVT06200313
103.948               4.050       2e+07  3957262935
4     20090803         082116
CONH                                          0 TFIT05241110
103.488               4.663       5e+09  5433305000
5     20090803         082116
CONH                                          0 TFIT05241110
103.488               4.663       5e+09  5433305000
6     20090803         082116
CONH                                          0 TFIT05241110
103.489               4.662       5e+09  5433355000

 and this is what I am getting:

> head(XX)
                    FECHA CIERRE HORA DE CIERRE SESION/RUEDA PLAZO (De
regreso para SIML, Repos e INTB) INSTRUMENTO
2009-08-03 08:09:43 "20090803"   "080943"       "CONH"       "
0"                                       "TFIT06140514" "103.558"    "
8.301"
2009-08-03 08:09:44 "20090803"   "080944"       "CONH"       "
0"                                       "TFIT06140514" "103.562"    "
8.300"
2009-08-03 08:11:08 "20090803"   "081108"       "CONH"       "
0"                                       "TUVT06200313" "103.948"    "
4.050"
2009-08-03 08:21:16 "20090803"   "082116"       "CONH"       "
0"                                       "TFIT05241110" "103.488"    "
4.663"
2009-08-03 08:21:16 "20090803"   "082116"       "CONH"       "
0"                                       "TFIT05241110" "103.488"    "
4.663"
2009-08-03 08:21:16 "20090803"   "082116"       "CONH"       "
0"                                       "TFIT05241110" "103.489"    "
4.662"

Does anybody know what can be happening?

thank you

Felipe Parra

	[[alternative HTML version deleted]]

