Re: [R] Passing arguments to SQL Query in R

2012-07-26 Thread guruappa
Thanks a ton, much appreciated. On 26-Jul-2012, at 8:35 PM, John Kane [via R] wrote: > Let me count the ways... > > R supplies a number of different ways. Here is sample using basic R and some > other packages. Youprobably will need to install the packages ( > ?install.packages) to run any

Re: [R] Passing arguments to SQL Query in R

2012-07-26 Thread guruappa
Thanks a ton, much appreciated... On 26-Jul-2012, at 7:56 PM, Michael Weylandt [via R] wrote: > On Thu, Jul 26, 2012 at 3:59 AM, guruappa <[hidden email]> wrote: > > > Hello all, > > > > I am a newbie at R, with some experience in PERL. > > > > I have a database table that contains the follo

Re: [R] Passing arguments to SQL Query in R

2012-07-26 Thread John Kane
Let me count the ways... R supplies a number of different ways. Here is sample using basic R and some other packages. Youprobably will need to install the packages ( ?install.packages) to run any but aggregate(). mydata <- structure(list(Name = structure(c(4L, 4L, 4L, 4L, 2L, 2L, 2L, 3L, 3

Re: [R] Passing arguments to SQL Query in R

2012-07-26 Thread R. Michael Weylandt
On Thu, Jul 26, 2012 at 3:59 AM, guruappa wrote: > Hello all, > > I am a newbie at R, with some experience in PERL. > > I have a database table that contains the following data: > Name | Score > === | = > Sachin T | 25 > Sachin T | 53 > Sachin T | 57 > Sachin T | 34 > Rahul D |