Neat?  It mihgt be very usefull, but it's rather a dirty hack in a
dirty language than a 'neat' solution.

\misiek

> That is neat Gabor.  Thanks, Ted

> Gabor Grothendieck wrote:

>
> The gsubfn package can do quasi perl-style interpolation by
> prefacing any function call with fn$.
>
> library(gsubfn)
> x <- 3
> fn$dbGetQuery(con, "select * from myTable where myColumnA = $x and
> MyColumnB = `2*x` ")
>
> See http://gsubfn.googlecode.com
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to