[R] eval() parse() and problem with square brackets
Jakub Jurdziak
enzo83 at wp.pl
Tue Jan 23 19:43:39 CET 2007
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
More information about the R-help
mailing list