[R] character string to name

Jim Lemon jim at bitwrit.com.au
Mon Jul 9 20:24:12 CEST 2007

Jim Lemon wrote:
> Hi folks,
> I thought I recalled a request for turning a character string into an 
> object name as in:
> x$as.name("y")<-1:4
 > ...
Thanks to those who replied to this eminently dumb question.

I put this down to the Euthermic Model of Cognitive Efficiency. This 
model, recently developed in Sydney, Australia, proposes that cognitive 
efficiency is maximized at the most comfortable ambient temperature for 
the thinker. Thus after riding home in the cold Sydney rain last night, 
I was unable to think of the simplest answer:


until I had gone to bed and warmed up. Then I awoke in the early morning 
and thought of Gabor's suggestion:


I felt compelled to arise and publish this amazing theory, that not only 
explains why the rate of intellectual and technical innovation is 
greatest in the temperate climes, but more importantly, gives me an 
excuse for asking the question.


More information about the R-help mailing list