Skip to content
Back to formatted view

Raw Message

Message-ID: <1291217996012-3067508.post@n4.nabble.com>
Date: 2010-12-01T15:39:56Z
From: Kelvin Lam
Subject: Simple question on eval
In-Reply-To: <AANLkTikfd4qyy5K2EA8YxA5erqmnDwNCZ_pawh0AQm+h@mail.gmail.com>

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.
-- 
View this message in context: http://r.789695.n4.nabble.com/Simple-question-on-eval-tp3066346p3067508.html
Sent from the R help mailing list archive at Nabble.com.