[Rd] `*tmp*`

Michael Haupt michael.haupt at oracle.com
Thu Aug 14 19:57:38 CEST 2014


given that `*tmp*` is removed after a replacement, how can code like this work? Is there some special handling for a variable named `*tmp*` when it comes to make element assignments?

> x<-c(1,2)
> x[1]<-42
> `*tmp*`[1]<-7 # I would expect this one to fail
> `*tmp*`
Error: object '*tmp*' not found

Confused greetings,


Dr. Michael Haupt
Principal Member of Technical Staff
Phone: +49 331 200 7277, Fax: +49 331 200 7561
Oracle Labs
Oracle Deutschland B.V. & Co. KG, Schiffbauergasse 14, 14467 Potsdam, Germany

More information about the R-devel mailing list