[R] Converting Character Strings into Object Names
Giovanni Petris
GPetris at uark.edu
Fri May 24 22:56:50 CEST 2002
?assign
GP
> Is there a function to convert character strings to object references. For
> example, I want to name sets of objects based on scenarios and the types of
> data being stored. So the scenarios might be something like c("a", "b",
> "c"), the types of data might have names like c("pass.trp", "trk.trp",
> "cmute.trp"), and I want to assign data to the objects a.pass.trp,
> b.pass.trp, c.pass.trp, a.trk.trp, etc. I'd like to be able to paste the
> names together and then use them as an object references.
>
> Brian Gregor, P.E.
> Transportation Planning Analysis Unit
> Oregon Department of Transportation
> Brian.J.GREGOR at odot.state.or.us
> (503) 986-4120
--
__________________________________________________
[ ]
[ Giovanni Petris GPetris at uark.edu ]
[ Department of Mathematical Sciences ]
[ University of Arkansas - Fayetteville, AR 72701 ]
[ Ph: (479) 575-6324, 575-8630 (fax) ]
[ http://definetti.uark.edu/~gpetris/ ]
[__________________________________________________]
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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