[R] dbAppy questions/clarifications

2008-10-15 Thread Ted Byers
In the example in the documentation, I see: rs - dbSendQuery(con, select Agent, ip_addr, DATA from pseudo_data order by Agent) out - dbApply(rs, INDEX = Agent, FUN = function(x, grp) quantile(x$DATA, names=FALSE)) Maybe I am a bit thick, but it took me a while, and a kind

Re: [R] dbAppy questions/clarifications

2008-10-15 Thread Rolf Turner
I can't help with your inquiry generally, but I can address the issue of ``optional braces''. On 16/10/2008, at 8:34 AM, Ted Byers wrote: snip I take it FUN = function(x, grp) quantile(x$DATA, names=FALSE) is the function definition for a function called FUN. I would guess,