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

Stephen Eglen S.J.Eglen at damtp.cam.ac.uk
Fri Aug 20 16:51:17 CEST 2010


Thanks Sigve;  this should now be fixed in the SVN sources, and ready
for next release.

Stephen

Sigve Berge Hofland <sigve at hofland.no> wrote:

> 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
> 
> _______________________________________________
> ESS-bugs ESS-bugs at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/ess-bugs
> 
> _______________________________________________
> ESS-core list: https://stat.ethz.ch/mailman/listinfo/ess-core



More information about the ESS-bugs mailing list