Hello...

In other languages (e.g. php, perl), you have the ability to create a valid string and execute the string to get the result. For example (in pseudo-R):

S<-"which(m==4)"
R<-exec(S)

I know this does not work, but was wondering if there was an equivalent mechanism that I cannot find in the docs anywhere to make it work.

Thanks,
Joe

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to