Thank you Michael, Sarah and Robin for the answers to my original question.

Michael you asked:"But this is rarely a good idea....perhaps you could say a little more 
about your overall goal and we could direct you to a more "R"-ish solution? "

I realise eval (known as execute in one of my other languages) is not a good idea. The background to my question is as follows:

Using rcom & rscproxy, I can deploy R as a COM server inside a C# or VB SOAP Web Service. Any methods that I write in the web service, will need input (or arguments) of unknown length or type etc. 


Say, (trivial example) I wanted R to give me the mean, median of c(1,2,3,4,5), I can pass c(1,2,3,4,5) as the argument, have R eval it & return the results.

Do I make sense?
	[[alternative HTML version deleted]]

