[ESS-bugs] ess-rdired and objects with names like "tmp 1"

Sigve Berge Hofland sigve at hofland.no
Sun Aug 15 00:27:52 CEST 2010


Hi

Through an error I made an object in an R session called "tmp 1".  
This appeared to make the 'ess-rdired' fail, with the following error  
message:

> Error in parse(text = (paste("data.class(", my.x, ")", sep = ""))) :
>   unexpected numeric constant in "data.class(tmp 1"

I usually don't have objects named like that, but R seems to accept  
them, so maybe ESS should as well. At least the following works fine  
for me (R 2.9.2 on Mac OS X):

> > assign("tmp 1",1)
> > get("tmp 1")
> [1] 1


--
Sincerely
Sigve Berge Hofland



More information about the ESS-bugs mailing list