Skip to content
Prev 285571 / 398502 Next

Reading Text Files with RODBC

Ah, yes.  If you can't find the answer to your question, ask a different question!

sqldf does, indeed, do what I want.  Thank you

? Benjamin Nutter |??Biostatistician   ? |??Quantitative Health Sciences
? Cleveland Clinic?   | ?9500 Euclid Ave.? | ?Cleveland, OH 44195? |?(216) 445-1365


-----Original Message-----
From: Gabor Grothendieck [mailto:ggrothendieck at gmail.com] 
Sent: Thursday, February 16, 2012 1:15 PM
To: Nutter, Benjamin
Cc: r-help at r-project.org
Subject: Re: [R] Reading Text Files with RODBC
On Thu, Feb 16, 2012 at 10:12 AM, Nutter, Benjamin <NutterB at ccf.org> wrote:
This isn't precisely what you are asking for but if the idea is to apply an sql statement to a csv file then read.csv.sql in the sqldf package can apply an sql statement to a csv file reading the result into R.  If you omit the sql statement then it reads it all in.

--
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com


===================================

 Please consider the environment before printing this e-mail

Cleveland Clinic is ranked one of the top hospitals
in America by U.S.News & World Report (2010).  
Visit us online at http://www.clevelandclinic.org for
a complete listing of our services, staff and
locations.


Confidentiality Note:  This message is intended for use\...{{dropped:13}}