[R] Calling Data frame objects with spaces in their names
    Patrick Connolly 
    p_connolly at slingshot.co.nz
       
    Wed Feb 24 20:07:12 CET 2010
    
    
  
On Wed, 24-Feb-2010 at 09:36AM -0500, Luis Felipe Parra wrote:
|> 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"
try EURODOLLAR$`ED1.Comdty Date`
HTH
-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___    Patrick Connolly   
 {~._.~}                   Great minds discuss ideas    
 _( Y )_  	         Average minds discuss events 
(:_~*~_:)                  Small minds discuss people  
 (_)-(_)  	                      ..... Eleanor Roosevelt
	  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
    
    
More information about the R-help
mailing list