[R] Simple question on eval

Ivan Calandra ivan.calandra at uni-hamburg.de
Wed Dec 1 16:48:50 CET 2010


Isn't it what do.call() does?

Ivan

Le 12/1/2010 16:39, Lamke a écrit :
> Thank you so much Joshua.  That's exactly what I am looking for.
>
> What I wanted to do is to pass a parameter to a function and I have to run
> the functions 30 times.  Instead of typing them all out, I created a long
> string of "f(a);f(b);f(c) ..." using paste() and use eval and parse to
> evaluative them all at once.  I am sure there are better ways of doing it
> but I just know this.

-- 
Ivan CALANDRA
PhD Student
University of Hamburg
Biozentrum Grindel und Zoologisches Museum
Abt. Säugetiere
Martin-Luther-King-Platz 3
D-20146 Hamburg, GERMANY
+49(0)40 42838 6231
ivan.calandra at uni-hamburg.de

**********
http://www.for771.uni-bonn.de
http://webapp5.rrz.uni-hamburg.de/mammals/eng/1525_8_1.php



More information about the R-help mailing list