Re: [R] eval() parse() and problem with square brackets

From: chao gai <>
Date: Tue 23 Jan 2007 - 19:06:07 GMT


I was trying to simplify the situation in order to know where the fault happens.
Appearently, from Excel, you go to R, which does some query in an MS application ? The square brackets now make me think that is Excel again, but I do not know.
Had I known that I would not have touched your question with a pole, I never used that stuff.


On Tuesday 23 January 2007 19:43, Jakub Jurdziak wrote:
> Hi,
> unfortunately I'm not able to check how it behaves at the moment.
> Even if it works ok, it is impossible to drop eval and parse in my
> situation.
> Iím using RExcel and RInterface.RRun to execute code from the string:
> "g_1 <- sqlQuery(cnn_1, "select aa from bb.[cc\\dd].ee")". RExcel adds
> eval and parse and finally R gets the transformed code:
> eval(parse(text="g_1 <- sqlQuery(cnn_1, \"select aa from
> bb.[cc\\dd].ee\")")).
> Regards mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Wed Jan 24 06:11:51 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 23 Jan 2007 - 20:30:33 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.