Skip to content

Microsoft SQL Server and R

3 messages · David Scott, Jim Porzak, Seeliger.Curt at epamail.epa.gov

#
I have a client running Microsoft SQL Server. I am interested in ways of 
  accessing data from this server using R.

I would welcome any information about how this can be done. I have a 
reasonable grasp of SQL and have experience with MySQL and RODBC but 
don't know anything much about Microsoft SQL Server.

David Scott
#
David,

You can certainly use RODBC to get to MS SQL, once you configure the
ODBC connection in windows.

These days I tend to use RJDBC http://www.rforge.net/RJDBC/ which is a
bit less of a hassle.

Hint use the jtds driver http://jtds.sourceforge.net/

HTH,
Jim Porzak
Ancestry.com
San Francisco, CA
www.linkedin.com/in/jimporzak
use R! Group SF: www.meetup.com/R-Users/
On Mon, Jan 25, 2010 at 2:55 PM, David Scott <d.scott at auckland.ac.nz> wrote: