Hello I have the following data frame which I read from an EXCEL file, and when i try to call one of its columns with a space in their names I am not being able to. For example if I do EURODOLLAR$ED1.Comdty Date I obtain the following error: Error: inesperado sÃmbolo en "EURODOLLAR$ED1.Comdty Date"
I have also tried using . or _ instead of the space and have obtained no succes. How do I call such an object? Thank You Felipe Parra head(EURODOLLAR) ED1.Comdty Date ED1.Comdty ED2.Comdty Date ED2.Comdty ED3.Comdty Date ED3.Comdty ED4.Comdty Date ED4.Comdty ED5.Comdty Date ED5.Comdty ED6.Comdty Date 1 Date PX_LAST Date PX_LAST Date PX_LAST Date PX_LAST Date PX_LAST Date 2 02/01/2003 98.635 02/01/2003 98.51 02/01/2003 98.295 02/01/2003 97.995 02/01/2003 97.64 02/01/2003 3 03/01/2003 98.635 03/01/2003 98.525 03/01/2003 98.305 03/01/2003 98 03/01/2003 97.64 03/01/2003 4 06/01/2003 98.63 06/01/2003 98.515 06/01/2003 98.265 06/01/2003 97.95 06/01/2003 97.59 06/01/2003 5 07/01/2003 98.635 07/01/2003 98.565 07/01/2003 98.35 07/01/2003 98.045 07/01/2003 97.695 07/01/2003 6 08/01/2003 98.65 08/01/2003 98.6 08/01/2003 98.415 08/01/2003 98.13 08/01/2003 97.77 08/01/2003 ED6.Comdty ED7.Comdty Date ED7.Comdty ED8.Comdty Date ED8.Comdty ED9.Comdty Date ED9.Comdty ED10.Comdty Date ED10.Comdty 1 PX_LAST Date PX_LAST Date PX_LAST Date PX_LAST Date PX_LAST 2 97.25 02/01/2003 96.9 02/01/2003 96.61 02/01/2003 96.38 02/01/2003 96.155 3 97.24 03/01/2003 96.885 03/01/2003 96.585 03/01/2003 96.355 03/01/2003 96.135 4 97.205 06/01/2003 96.845 06/01/2003 96.55 06/01/2003 96.315 06/01/2003 96.095 5 97.31 07/01/2003 96.97 07/01/2003 96.675 07/01/2003 96.425 07/01/2003 96.2 6 97.385 08/01/2003 97.015 08/01/2003 96.715 08/01/2003 96.46 08/01/2003 96.23 [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.