[R] Does SQL group by have a heavy duty equivalent in R
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Jan 2 02:22:00 CET 2007
On Mon, 1 Jan 2007, BBands wrote:
> On 12/30/06, Farrel Buchinsky <fjbuch at gmail.com> wrote:
>> Instead I used RODBC
>>
>> sqlSave(channel,RawSeq)
>> to push the table into a Microsoft Access database
>> Then a sql query, courtesy of the Microsoft Access Query Wizard a la design
>> mode.
>
> If SQL does prove to be part of your approach you might want to have a
> look at SQLite. Dirk introduced it to me back when we worked on
> Crusher. We use it for development and some production work. Main
> attributes: simple, fast and light weight.
And it works perfectly well with RODBC, so you don't need yet another
package. RODBC even comes with SQLite examples.
BTW, 'fast' is rather misleading: SQLite is often fast for small tasks,
but can be very slow compared to a more serious DBMS.
> Everything you for R need here:
> http://cran.r-project.org/src/contrib/Descriptions/RSQLite.html
>
> SQLite's home page:
> http://www.sqlite.org/
>
> And a Python connector:
> http://initd.org/tracker/pysqlite
>
> jab
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list