Hi there again,

 

I have a problem with the "parse"-command. 

 

First of all, I show you in a simplified way, what I am trying to do and what "R" answers:

 

> test

 [1] "u.g$par1, u.g$par2"
> mode(test)

 [1] "character"

> ausdruck <- parse(text = test)

 Error in parse(file, n, text, prompt) : syntax error in "u.g$par1,"

 

That is what I did and I can't find the mistake. I just want to have "test" without quotes (to do eval(ausdruck) later) but somehow it doesn't work.

 

Is there anything I have overlooked? Can't I put special characters like "$" or "," into this test-character?

 

Thanks a lot for your help.

 

Best, Antje


	[[alternative HTML version deleted]]


