Yes, I do. Here's a code snippet that worked for me:

library(RPgSQL)
db.connect(dbname='fgdata')
fgdata.df<-db.read.table('mlm_data')


This assumes you have the RPgSQL library installed, and that you have
postgres running on the local machine.  There's more documentation in the
RPgSQL package.

Best,
Andy Perrin

----------------------------------------------------------------------
Andrew J Perrin - http://www.unc.edu/~aperrin
Assistant Professor of Sociology, U of North Carolina, Chapel Hill
[EMAIL PROTECTED] * andrew_perrin (at) unc.edu


On 11 Feb 2003, Joshua Gramlich wrote:

> Is anyone using R with postgres?  I'd like to do so, but cannot seem to
> find any reasonable explanation of how to do so.
> 
> 
> Joshua Gramlich
> Chicago, IL
> 
> ______________________________________________
> [EMAIL PROTECTED] mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help
>

______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to