[R] cant find "get"?

Strumila, John John.Strumila at team.telstra.com
Fri Sep 1 01:03:35 CEST 2000


howdy gurus,

I was wondering if someone could help me with what looks like a simple
problem.

I found this great function called "get" which allows me to work out my
object name at run time.  Unfortunately it's not letting me assign values
with it.  What am I doing wrong?

thanks,
John Strumila

>   names(get(file.name))[1]
[1] "X14.59.23"
>   names(get(file.name))[1] <- "date"
Error: couldn't find function "get<-"
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list