[R] need help for eval()
demolombe
demolomb at ensam.inra.fr
Sat Sep 21 13:48:56 CEST 2002
Hello,
I need help, after hours trying to do it myself,
to do the following:
I have an object, named, say, F1 from a class "fichier" that I buildt.
this F1 has a slot named datas ,which is a vector, so I can access to
: F1 at datas[1], F1 at datas[2], ...
Now I have a string s="F1 at datas[1]" and need to retreive the real
content of F1 at datas[1] using s.
Is there a way to do this, as it is in Matlab?
Thanks you for any help
Vincent
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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