Thank you both so much for your help! I ended up using
bquote(expression(...)), and it's working perfectly!
On Sat, May 5, 2012 at 1:05 PM, David Winsemius wrote:
>
> On May 5, 2012, at 2:42 PM, Josh Browning wrote:
>
> Hello useRs!
>>
>> So, I have a random question. I'm trying to build a cha
On May 5, 2012, at 2:42 PM, Josh Browning wrote:
Hello useRs!
So, I have a random question. I'm trying to build a character
string, then
evaluate it.
Actually you are trying to build a language object , a call or an
expression. You might have gotten further with:
do.call(ksvm, list(
What's the "big picture" of what you're trying to do? eval(parse(text
= )) is often a less than optimal idea.
Some guesses:
Are you trying to construct a formula object (in the strict sense of
something that you pass to a modeling function)?
Maybe lazy evaluation of the deparse(substitute(x)) fl
Hello useRs!
So, I have a random question. I'm trying to build a character string, then
evaluate it. I think an example would be the easiest way to explain:
kern.vec = c("rbfdot","polydot")
for( j in 1:length( kern.vec ) )
{
formula= paste("ksvm( ind ~ . ,
data=d.temp[,c(
4 matches
Mail list logo